[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
This commit is contained in:
parent
9aa36ae522
commit
2aa64824cc
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
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]]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue