From d90838f96cc1c27fbd66d562464ccbcea54d4fe0 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 23 May 2014 11:19:32 +0100 Subject: [PATCH] 1.cc: Add xfail for dragonfly. * testsuite/23_containers/vector/capacity/resize/1.cc: Add xfail for dragonfly. * testsuite/30_threads/call_once/60497.cc: Add target selectors. * testsuite/30_threads/condition_variable/members/53841.cc: Likewise. From-SVN: r210850 --- libstdc++-v3/ChangeLog | 5 +++++ .../testsuite/23_containers/vector/capacity/resize/1.cc | 2 +- libstdc++-v3/testsuite/30_threads/call_once/60497.cc | 2 +- .../testsuite/30_threads/condition_variable/members/53841.cc | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e51b96c2b1d1..e627e18c4a2b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -4,6 +4,11 @@ * testsuite/*: Use 's/\*-\*-freebsd\* /&*-*-dragonfly* /' to add dragonfly target selector to all tests that run on freebsd. + * testsuite/23_containers/vector/capacity/resize/1.cc: Add xfail for + dragonfly. + * testsuite/30_threads/call_once/60497.cc: Add target selectors. + * testsuite/30_threads/condition_variable/members/53841.cc: Likewise. + 2014-05-21 François Dumont PR libstdc++/61143 diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/1.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/1.cc index 1c30ff5ae295..c4cd790c7077 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/1.cc @@ -22,7 +22,7 @@ // This fails on some versions of Darwin 8 because malloc doesn't return // NULL even if an allocation fails (filed as Radar 3884894). -// { dg-do run { xfail *-*-darwin8.[0-4].* } } +// { dg-do run { xfail *-*-darwin8.[0-4].* *-*-dragonfly* } } #include #include diff --git a/libstdc++-v3/testsuite/30_threads/call_once/60497.cc b/libstdc++-v3/testsuite/30_threads/call_once/60497.cc index b05820492f32..a82b88f1b6d7 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/60497.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/60497.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target *-*-freebsd* *-*-dragonfly* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin *-*-darwin* powerpc-ibm-aix* } } // { dg-options " -std=gnu++11 -pthread" { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* powerpc-ibm-aix* } } // { dg-options " -std=gnu++11 -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++11 " { target *-*-cygwin *-*-darwin* } } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc index e8b7008b04cf..90d02d91f552 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin *-*-darwin* powerpc-ibm-aix* hppa*-hp-hpux11* } } // { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* powerpc-ibm-aix* hppa*-hp-hpux11* } } // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } }