From: Ben Elliston Date: Fri, 23 Jan 2004 03:15:27 +0000 (+0000) Subject: * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a X-Git-Tag: gprof-pre-ansify-2004-05-26~1547 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2345c93c5f198a22aeefbbfd7021dbba967758a7;p=external%2Fbinutils.git * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a test passes. --- diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog index cbd36e3..22f2974 100644 --- a/sim/testsuite/ChangeLog +++ b/sim/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Ben Elliston + + * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a + test passes. + 2003-10-10 Dave Brolley * sim/frv/testutils.inc (or_gr_immed): New macro. diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp index 017fcef..e755717 100644 --- a/sim/testsuite/lib/sim-defs.exp +++ b/sim/testsuite/lib/sim-defs.exp @@ -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