conpr-2.C: Expect failure on solaris2.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +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: r59950

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 7ced2afb62a68e072f5639cc8490ab5aca6bb44b..b74a2a106b18e8c8b64f4016d06db716c5cdb5ea 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-06  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.c-torture/execute/20021204-1.c: New test.
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 {