Commit 2aa64824 by Christophe Lyon Committed by Christophe Lyon

[testsuite] gcc-dg: handle all return values when shouldfail is set

2016-04-22  Christophe Lyon  <christophe.lyon@linaro.org>

	* lib/gcc-dg.exp (${tool}_load): Add default return value handler.

From-SVN: r235372
parent 9aa36ae5
2016-04-22 Christophe Lyon <christophe.lyon@linaro.org>
* lib/gcc-dg.exp (${tool}_load): Add default return value handler.
2016-04-22 Dominique d'Humieres <dominiq@lps.ens.fr>
* gfortran.dg/submodule_14.f08: Add cleanup-submodules.
......
......@@ -403,6 +403,7 @@ if { [info procs ${tool}_load] != [list] \
switch [lindex $result 0] {
"pass" { set status "fail" }
"fail" { set status "pass" }
default { set status [lindex $result 0] }
}
set result [list $status [lindex $result 1]]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment