From f18ee7ef71510e52feaa80864c226ec18e2214e0 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 31 Jul 2001 04:59:59 +0000 Subject: 2001-07-31 Ben Elliston * lib/sim-defs.exp (run_sim_test): Include a description such as "assembling" or "linking" that identifies the phase a test fails in, for easier analysis of failures. --- sim/testsuite/lib/sim-defs.exp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sim/testsuite/lib') diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp index e00b99c9..42374e0 100644 --- a/sim/testsuite/lib/sim-defs.exp +++ b/sim/testsuite/lib/sim-defs.exp @@ -254,7 +254,7 @@ proc run_sim_test { name requested_machs } { if ![string match "" $comp_output] { verbose -log "$comp_output" 3 - fail "$mach $testname" + fail "$mach $testname (assembling)" continue } @@ -266,7 +266,7 @@ proc run_sim_test { name requested_machs } { if ![string match "" $comp_output] { verbose -log "$comp_output" 3 - fail "$mach $testname" + fail "$mach $testname (linking)" continue } @@ -292,22 +292,22 @@ proc run_sim_test { name requested_machs } { } else { verbose -log "output: $output" 3 verbose -log "pattern: $opts(output)" 3 - fail "$mach $testname" + fail "$mach $testname (execution)" } } else { verbose -log "`pass' return code when expecting failure" 3 - fail "$mach $testname" + fail "$mach $testname (execution)" } } elseif { "$status" == "fail" } { if { "$opts(xerror)" == "no" } { - fail "$mach $testname" + fail "$mach $testname (execution)" } else { if [string match $opts(output) $output] { pass "$mach $testname" } else { verbose -log "output: $output" 3 verbose -log "pattern: $opts(output)" 3 - fail "$mach $testname" + fail "$mach $testname (execution)" } } } else { -- cgit v1.1