old-dejagnu.exp (old-dejagnu): Added the "execution test - XFAIL *-*-*" handling...
authorH.J. Lu <hjl@gnu.org>
Mon, 9 Feb 1998 01:07:31 +0000 (01:07 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 9 Feb 1998 01:07:31 +0000 (18:07 -0700)
        * 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.

From-SVN: r17798

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.jason/opeq5.C
gcc/testsuite/g++.old-deja/g++.law/code-gen3.C
gcc/testsuite/g++.old-deja/g++.mike/p6610a.C
gcc/testsuite/g++.old-deja/g++.mike/p7325.C
gcc/testsuite/lib/old-dejagnu.exp

index 48c4d76b73938b4831f0ffb74acdb70316558882..6c1c10b0516cd44e74cf552822126f2a6fb8b069 100644 (file)
@@ -1,3 +1,11 @@
+Mon Feb  9 02:08:47 1998  H.J. Lu  (hjl@gnu.org)
+
+        * 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.
+
 Sun Jan 18 01:33:59 1998  Jeffrey A Law  (law@cygnus.com)
 
        * lib/c-torture.exp: Look for .x files instead of .cexp files.
index c591830515bcc796152a5a195e5efe5d2d8a386c..51b3e6e237caa130c8b89b20556c92e2349f53ab 100644 (file)
@@ -1,7 +1,7 @@
 // Testcase for tricky synthesized op= in complex inheritance situation.
 // See discussion in g++int.texi.
 
-// execution test fails - 
+// execution test - XFAIL *-*-*
 
 int count = 0;
 extern "C" int printf (const char *, ...);
index 0635d278197dc25f8cc4652da52810793028006f..a9de4838ca11eb836d996578a6a135dfadf7119a 100644 (file)
@@ -1,5 +1,5 @@
 // GROUPS passed code-generation
-// execution test fails - 
+// execution test - XFAIL *-*-*
 // code-gen file
 // From: mscha@anne.wifo.uni-mannheim.de (Martin Schader)
 // Date:     Wed, 4 Aug 93 19:14:52 +0200
index 124260bb1cca47e2501741c1aa5c887dd526524f..b9ea4b769bb8772e5a5cbaaeafd0fc4297fb096a 100644 (file)
@@ -1,6 +1,6 @@
 // prms-id: 6610
 // There is a bug in vtable thunks with multiple/virtual inheritance.
-// execution test fails - XFAIL *-*-linux-gnu *-*-linux
+// execution test - XFAIL *-*-linux-gnu *-*-linux
 int fail = 1;
 struct B;
 struct A { virtual int f(const B*) = 0; int g(const B*); };
index 8402a36cc348c5522fa0bea822f57c441c461887..9cf4604daabc27c66024b3484849043abdbbfec6 100644 (file)
@@ -1,7 +1,7 @@
 // I hate this type of test case.  I'm not sure how to code it better.
 // See the PR for what this tests.
 // prms-id: 7325
-// execution test fails *-*-*
+// execution test - XFAIL *-*-*
 
 int fail = 0;
 
index 02f84a46cb9c50c574b76aa84b09cf296132bd7a..32e5e52caab2b1e0c40f41396b1d4b04c51e6cd7 100644 (file)
@@ -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
            }