diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-04-12 11:24:29 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2016-04-12 11:24:29 +0200 |
commit | 0ae8a4353a3521623d23d5b5bbba63877b25689c (patch) | |
tree | cc4e06839d8d7a91f17eda7329482876c6bc9bb0 | |
parent | 86538d719ba8073e70d8619d65dc9a1aae3a88d8 (diff) |
Handle default return value in ${tool}_loadlinaro-local/fix-gcc-dg
Change-Id: Ic2928ec96253deebc1bd40bca133ebeb4eb76bf6
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index 9e4ecce5f9a..6cdce0d7e11 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -380,6 +380,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]] } |