* lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
authorBen Elliston <bje@au.ibm.com>
Fri, 23 Jan 2004 03:15:27 +0000 (03:15 +0000)
committerBen Elliston <bje@au.ibm.com>
Fri, 23 Jan 2004 03:15:27 +0000 (03:15 +0000)
test passes.

sim/testsuite/ChangeLog
sim/testsuite/lib/sim-defs.exp

index cbd36e3e990fcb9164b15df22d428825ad476ec8..22f29747346db76c459a0b2da407ad1ff362b7b9 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-23  Ben Elliston  <bje@wasabisystems.com>
+
+       * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
+       test passes.
+
 2003-10-10  Dave Brolley  <brolley@redhat.com>
 
        * sim/frv/testutils.inc (or_gr_immed): New macro.
index 017fcefb249141a66c5a656442a3a242e0ffacd2..e75571760aded969b9b97de19d7f721170bff749 100644 (file)
@@ -289,6 +289,7 @@ proc run_sim_test { name requested_machs } {
            if { "$opts(xerror)" == "no" } {
                if [string match $opts(output) $output] {
                    pass "$mach $testname"
+                   file delete ${name}.o ${name}.x
                } else {
                    verbose -log "output:  $output" 3
                    verbose -log "pattern: $opts(output)" 3
@@ -304,6 +305,7 @@ proc run_sim_test { name requested_machs } {
            } else {
                if [string match $opts(output) $output] {
                    pass "$mach $testname"
+                   file delete ${name}.o ${name}.x
                } else {
                    verbose -log "output:  $output" 3
                    verbose -log "pattern: $opts(output)" 3