Patchwork [testsuite] Remove several XPASSes on Solaris 2

login
register
mail settings
Submitter Rainer Orth
Date June 9, 2010, 5:54 p.m.
Message ID <ydd8w6o6qip.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/55115/
State New
Headers show

Comments

Rainer Orth - June 9, 2010, 5:54 p.m.
The following patch removes some XPASSes on Solaris 2:

i386-pc-solaris2*:

XPASS: g++.old-deja/g++.oliva/dwarf2.C (test for excess errors)
XPASS: g++.old-deja/g++.oliva/dwarf3.C (test for excess errors)

They are present from Solaris 8 to 11 on x86, since the 4.4 branch up to
trunk, so I'm removing the XFAIL.

*-*-solaris2*:

XPASS: g++.old-deja/g++.other/init19.C execution test

Again, present from 4.4 branch to mainline, Solaris 8 to 11, both SPARC
and x86.

Installed mainline, 4.4 and 4.5 branches.

	Rainer

Patch

diff -r 2b5c4cb5e70d gcc/testsuite/g++.old-deja/g++.oliva/dwarf2.C
--- a/gcc/testsuite/g++.old-deja/g++.oliva/dwarf2.C	Sat May 01 23:38:49 2010 +0200
+++ b/gcc/testsuite/g++.old-deja/g++.oliva/dwarf2.C	Sun May 02 11:09:45 2010 +0200
@@ -1,5 +1,4 @@ 
 // { dg-do assemble }
-// { dg-xfail-if "" { i386-pc-solaris* } { "*" } { "" } }
 
 // Copyright (C) 1999 Free Software Foundation
 
diff -r 2b5c4cb5e70d gcc/testsuite/g++.old-deja/g++.oliva/dwarf3.C
--- a/gcc/testsuite/g++.old-deja/g++.oliva/dwarf3.C	Sat May 01 23:38:49 2010 +0200
+++ b/gcc/testsuite/g++.old-deja/g++.oliva/dwarf3.C	Sun May 02 11:09:45 2010 +0200
@@ -1,5 +1,4 @@ 
 // { dg-do assemble }
-// { dg-xfail-if "" { i386-pc-solaris* } { "*" } { "" } }
 
 // Copyright (C) 1999 Free Software Foundation
 
diff -r 2b5c4cb5e70d gcc/testsuite/g++.old-deja/g++.other/init19.C
--- a/gcc/testsuite/g++.old-deja/g++.other/init19.C	Sat May 01 23:38:49 2010 +0200
+++ b/gcc/testsuite/g++.old-deja/g++.other/init19.C	Sun May 02 11:09:45 2010 +0200
@@ -1,4 +1,4 @@ 
-// { dg-do run { xfail { ! cxa_atexit } } }
+// { dg-do run { xfail { { ! cxa_atexit } && { ! *-*-solaris2* } } } }
 #include <stdlib.h>
 
 #define assert(x) do { if (! (x)) abort(); } while (0)