From: Kaveh R. Ghazi Date: Mon, 9 Dec 2002 00:47:30 +0000 (+0000) Subject: conpr-2.C: Expect failure on solaris2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da549e294b283570d11ebd580b7efe478fa60d1d;p=gcc.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: r59950 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7ced2afb62a..b74a2a106b1 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-06 Jakub Jelinek * gcc.c-torture/execute/20021204-1.c: New test. diff --git a/gcc/testsuite/g++.dg/special/conpr-2.C b/gcc/testsuite/g++.dg/special/conpr-2.C index c5fc235e779..2deeb011d6b 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 5b560581e75..0a9eff9ff8b 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 5552acec7c2..7615023e7cd 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 {