summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/lib
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-09 01:07:31 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-09 01:07:31 +0000
commita8587fa2b823a556c2b2ddbd207d45cccec0a999 (patch)
tree7aef200518c166e6f2570f5d330bd70d7c2e9bb2 /gcc/testsuite/lib
parent58871ae217f23822cddfffca89696cd7130a15d2 (diff)
downloadppe42-gcc-a8587fa2b823a556c2b2ddbd207d45cccec0a999.tar.gz
ppe42-gcc-a8587fa2b823a556c2b2ddbd207d45cccec0a999.zip
* lib/old-dejagnu.exp (old-dejagnu): Added the
"execution test - XFAIL *-*-*" handling in the spirit of "excess errors test -". Changed the "execution test fails" handling to be like "excess errors test fails". * Update various tests accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17798 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r--gcc/testsuite/lib/old-dejagnu.exp12
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp
index 02f84a46cb9..32e5e52caab 100644
--- a/gcc/testsuite/lib/old-dejagnu.exp
+++ b/gcc/testsuite/lib/old-dejagnu.exp
@@ -361,10 +361,16 @@ proc old-dejagnu { compiler prog cflagsx default_cflags libs } {
set message [concat $message $tmp]
}
- set tmp [process-option $prog "execution test fails" "an execution failure" EXEC $text]
+ set tmp [process-option $prog "execution test fails" "an execution failure" EXECO $text]
if ![string match "" $tmp] then {
set execbug_flag 1
set message [concat $message $tmp]
+ warning "please use execution test - XFAIL *-*-* in $prog instead"
+ }
+
+ set tmp [process-option $prog "execution test - " "an excess error failure" EXEC $text]
+ if ![string match "" $tmp] then {
+ set message [concat $message $tmp]
}
set tmp [process-option $prog "excess errors test fails" "an excess error failure" EXCESSO $text]
@@ -472,7 +478,9 @@ proc old-dejagnu { compiler prog cflagsx default_cflags libs } {
"XBADASM" {
x$uhoh "$name $pattern (test for bad assembler, line $line)"
}
- "XEXEC" { }
+ "XEXEC" {
+ set execbug_flag 1
+ }
"XEXCESS" {
set excessbug_flag 1
}
OpenPOWER on IntegriCloud