+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
if ![string match "" $comp_output] {
verbose -log "$comp_output" 3
- fail "$mach $testname"
+ fail "$mach $testname (assembling)"
continue
}
if ![string match "" $comp_output] {
verbose -log "$comp_output" 3
- fail "$mach $testname"
+ fail "$mach $testname (linking)"
continue
}
} 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 {