projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c4c00
)
old-dejagnu.exp: Make it possible to XFAIL a test that causes an ICE.
author
Mark Mitchell
<mmitchel@gcc.gnu.org>
Sun, 23 Aug 1998 15:29:09 +0000
(15:29 +0000)
committer
Mark Mitchell
<mmitchel@gcc.gnu.org>
Sun, 23 Aug 1998 15:29:09 +0000
(15:29 +0000)
* lib/old-dejagnu.exp: Make it possible to XFAIL a test that
causes an ICE.
From-SVN: r21918
gcc/testsuite/lib/old-dejagnu.exp
patch
|
blob
|
history
diff --git
a/gcc/testsuite/lib/old-dejagnu.exp
b/gcc/testsuite/lib/old-dejagnu.exp
index
ceae14b
..
30d2236
100644
(file)
--- a/
gcc/testsuite/lib/old-dejagnu.exp
+++ b/
gcc/testsuite/lib/old-dejagnu.exp
@@
-384,10
+384,11
@@
proc old-dejagnu { compiler prog cflagsx default_cflags libs } {
set expect_crash \
[process-option $prog "crash test - " "a crash" CRASH $text]
- if {$expect_crash == "XCRASH"} then {
- set expect_crash 0
- } else {
+ if {$expect_crash != ""
+ && [lindex [lindex $expect_crash 0] 1] == "XCRASH"} then {
set expect_crash 1
+ } else {
+ set expect_crash 0
}
#