From: Kaveh R. Ghazi Date: Mon, 9 Dec 2002 00:55:41 +0000 (+0000) Subject: conpr-2.C: Expect failure on solaris2. X-Git-Tag: releases/gcc-3.2.2~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a7bf67015317493884be58dcb471a694e272097;p=thirdparty%2Fgcc.git conpr-2.C: Expect failure on solaris2. * g++.dg/special/conpr-2.C: Expect failure on solaris2. * g++.dg/special/ecos.exp (conpr-3.C): Likewise. * g++.dg/special/initp1.C: Likewise. From-SVN: r59952 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac04decda601..b3645d71453a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-12-08 Kaveh R. Ghazi + + * g++.dg/special/conpr-2.C: Expect failure on solaris2. + * g++.dg/special/ecos.exp (conpr-3.C): Likewise. + * g++.dg/special/initp1.C: Likewise. + 2002-12-08 Mark Mitchell * g++.dg/template/varmod1.C: Fix typo. diff --git a/gcc/testsuite/g++.dg/special/conpr-2.C b/gcc/testsuite/g++.dg/special/conpr-2.C index c5fc235e779b..2deeb011d6bd 100644 --- a/gcc/testsuite/g++.dg/special/conpr-2.C +++ b/gcc/testsuite/g++.dg/special/conpr-2.C @@ -1,4 +1,5 @@ -/* { dg-do run } */ +/* This doesn't work on solaris2 for reasons described in PR 6482. */ +/* { dg-do run { xfail *-*-solaris2* } } */ #include diff --git a/gcc/testsuite/g++.dg/special/ecos.exp b/gcc/testsuite/g++.dg/special/ecos.exp index 5b560581e75e..0a9eff9ff8b2 100644 --- a/gcc/testsuite/g++.dg/special/ecos.exp +++ b/gcc/testsuite/g++.dg/special/ecos.exp @@ -77,8 +77,11 @@ if [string match "*init_priority*" $lines] then { fail "conpr-3b.o" } else { # run it with objects both ways around! - dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3a.o conpr-3b.o" "" - dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" "" + # This doesn't work on solaris2 for reasons described in PR 6482. + if { ![regexp ".*-solaris2.*" $target_triplet] } { + dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3a.o conpr-3b.o" "" + dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" "" + } file delete conpr-3a.o conpr-3b.o } } diff --git a/gcc/testsuite/g++.dg/special/initp1.C b/gcc/testsuite/g++.dg/special/initp1.C index 5552acec7c22..7615023e7cdc 100644 --- a/gcc/testsuite/g++.dg/special/initp1.C +++ b/gcc/testsuite/g++.dg/special/initp1.C @@ -1,4 +1,5 @@ -/* { dg-do run } */ +/* This doesn't work on solaris2 for reasons described in PR 6482. */ +/* { dg-do run { xfail *-*-solaris2* } } */ #include class Two {