From: Jonathan Wakely Date: Thu, 20 Aug 2015 20:36:19 +0000 (+0100) Subject: libstdc++/67294 Don't run timed mutex tests on Darwin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ba1fef27d93933704aef2a0b39aed2f9a2ab842;p=gcc.git libstdc++/67294 Don't run timed mutex tests on Darwin PR libstdc++/67294 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Do not run on Darwin. * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise. From-SVN: r227043 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ef0367b88b5..8f78594baf9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2015-08-20 Jonathan Wakely + PR libstdc++/67294 + * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Do not run + on Darwin. + * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise. + * include/experimental/any (__any_caster): Define at namespace scope so the name is visible to name lookup. * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc index ac51f433271..de5592a6e4c 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc @@ -1,7 +1,7 @@ -// { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin *-*-darwin* powerpc-ibm-aix* } } +// { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin 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* } } +// { dg-options " -std=gnu++11 " { target *-*-cygwin } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc index 10fdc537a9b..14e39dee625 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc @@ -1,7 +1,7 @@ -// { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin *-*-darwin* powerpc-ibm-aix* } } +// { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin 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* } } +// { dg-options " -std=gnu++11 " { target *-*-cygwin } } // { dg-require-cstdint "" } // { dg-require-gthreads "" }