2001-07-31 Ben Elliston <bje@redhat.com>
authorBen Elliston <bje@au.ibm.com>
Tue, 31 Jul 2001 04:59:59 +0000 (04:59 +0000)
committerBen Elliston <bje@au.ibm.com>
Tue, 31 Jul 2001 04:59:59 +0000 (04:59 +0000)
* 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/ChangeLog
sim/testsuite/lib/sim-defs.exp

index b5a72d0e87564572c940f65948143d389a649d55..fc75944b76f74a36dbd778677bd1fb8b0dc79b94 100644 (file)
@@ -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
index e00b99c9c8b7b03829876b8279c2e8073818052b..42374e0977209702b11b0db47ad15da5e5ee7515 100644 (file)
@@ -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 {