]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
conpr-2.C: Expect failure on solaris2.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 9 Dec 2002 00:55:41 +0000 (00:55 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 9 Dec 2002 00:55:41 +0000 (00:55 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/special/conpr-2.C
gcc/testsuite/g++.dg/special/ecos.exp
gcc/testsuite/g++.dg/special/initp1.C

index ac04decda601c9b91ce35c42c17b2ff4531b72d8..b3645d71453a9cf23b7c0b9a92bbf1af6ff48077 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * 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  <mark@codesourcery.com>
 
        * g++.dg/template/varmod1.C: Fix typo.
index c5fc235e779bed9a38848526fd090ccb12107198..2deeb011d6bd0674f74218866663910aae11401b 100644 (file)
@@ -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 <stdlib.h>
 
index 5b560581e75e204631078087c2359da6271c5bc8..0a9eff9ff8b2e79e6bd179dd7530687574f0a264 100644 (file)
@@ -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
     }
 }
index 5552acec7c22dceba6ea6272c10e41f5357e23bc..7615023e7cdc9dff1c93620c3bc2203f9d2a65dc 100644 (file)
@@ -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 <stdlib.h>
 
 class Two {