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-Tag: releases/gcc-9.4.0~760 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e4128fd723d6ff7b19600e96839d2bd9c9a69e4;p=thirdparty%2Fgcc.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. (cherry picked from commit c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2) --- 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 5b3087059cfb..e9a1915639a7 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