Commit fa80e0a6 by H.J. Lu Committed by Jeff Law

old-dejagnu.exp (old-dejagnu): Added the "execution test - XFAIL *-*-*" handling…

old-dejagnu.exp (old-dejagnu): Added the "execution test - XFAIL *-*-*" handling in the spirit of "excess...

        * 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
parent 34bea464
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.
......
// 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 *, ...);
......
// 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
......
// 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*); };
......
// 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;
......
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment