diff options
author | Ben Elliston <bje@au.ibm.com> | 2001-07-31 04:59:59 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2001-07-31 04:59:59 +0000 |
commit | f18ee7ef71510e52feaa80864c226ec18e2214e0 (patch) | |
tree | a24de96370e627b934523c525ee05932b5b3b7b6 /sim/testsuite | |
parent | 0d79b98d1e19676b4251832f7da53b5fc5de99d2 (diff) | |
download | gdb-f18ee7ef71510e52feaa80864c226ec18e2214e0.zip gdb-f18ee7ef71510e52feaa80864c226ec18e2214e0.tar.gz gdb-f18ee7ef71510e52feaa80864c226ec18e2214e0.tar.bz2 |
2001-07-31 Ben Elliston <bje@redhat.com>
* 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.
Diffstat (limited to 'sim/testsuite')
-rw-r--r-- | sim/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | sim/testsuite/lib/sim-defs.exp | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog index b5a72d0..fc75944 100644 --- a/sim/testsuite/ChangeLog +++ b/sim/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-07-31 Ben Elliston <bje@redhat.com> + + * 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. + 2000-11-01 Dave Brolley <brolley@cygnus.com> * lib/sim-defs.exp (run_sm_test): Correct comment. "output" and 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 { |