From: Andrea Corallo Date: Wed, 1 Apr 2020 09:19:04 +0000 (+0100) Subject: libstdc++-v3/test: Better skip for "use_service.cc" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2;p=gcc.git libstdc++-v3/test: Better skip for "use_service.cc" 2020-04-01 Andrea Corallo * testsuite/experimental/net/execution_context/use_service.cc: Require pthread and gthreads. --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ed2c4b77ac1..e713fd235e9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2020-04-01 Andrea Corallo + + * testsuite/experimental/net/execution_context/use_service.cc: + Require pthread and gthreads. + 2020-04-01 Gerald Pfeifer * doc/xml/manual/appendix_free.xml: Move "free books" list from diff --git a/libstdc++-v3/testsuite/experimental/net/execution_context/use_service.cc b/libstdc++-v3/testsuite/experimental/net/execution_context/use_service.cc index 8a2d03fb1bb..d242d63cb94 100644 --- a/libstdc++-v3/testsuite/experimental/net/execution_context/use_service.cc +++ b/libstdc++-v3/testsuite/experimental/net/execution_context/use_service.cc @@ -15,7 +15,11 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++14 } } +// { dg-do run } +// { dg-options "-pthread" } +// { dg-require-effective-target c++14 } +// { dg-require-effective-target pthread } +// { dg-require-gthreads "" } #include #include