diff options
Diffstat (limited to 'systemtest/config/unix.exp')
-rw-r--r-- | systemtest/config/unix.exp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/systemtest/config/unix.exp b/systemtest/config/unix.exp deleted file mode 100644 index 1bd9310..0000000 --- a/systemtest/config/unix.exp +++ /dev/null @@ -1,23 +0,0 @@ -proc runtest_exit_code { test_name command_line exit_code } { - - exec ./mcc $command_line.cpp - - spawn $command_line - - expect eof - - exec rm $command_line - - lassign [wait] pid spawnid os_error_flag value - - if {$os_error_flag == 0} { - if {$value == $exit_code} { - pass "$test_name: Returned expected value $value" - } else { - fail "$test_name: Returned bad value $value, expected: $exit_code" - } - } else { - fail "$test_name: errno: $value" - } - -} |