summaryrefslogtreecommitdiffhomepage
path: root/systemtest/config
diff options
context:
space:
mode:
Diffstat (limited to 'systemtest/config')
-rw-r--r--systemtest/config/unix.exp6
1 files changed, 5 insertions, 1 deletions
diff --git a/systemtest/config/unix.exp b/systemtest/config/unix.exp
index 2de93b0..1bd9310 100644
--- a/systemtest/config/unix.exp
+++ b/systemtest/config/unix.exp
@@ -1,9 +1,13 @@
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} {