OSDN Git Service

* g++.dg/special/conpr-2.C: Expect failure on solaris2.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +0000)
* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
* g++.dg/special/initp1.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59950 138bc75d-0d04-0410-961f-82ee72b054a4

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 7ced2af..b74a2a1 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 c5fc235..2deeb01 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 5b56058..0a9eff9 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 5552ace..7615023 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 {