libstdc++-v3/test: Better skip for "use_service.cc"
authorAndrea Corallo <andrea.corallo@arm.com>
Wed, 1 Apr 2020 09:19:04 +0000 (10:19 +0100)
committerAndrea Corallo <andrea.corallo@arm.com>
Thu, 2 Apr 2020 09:53:58 +0000 (11:53 +0200)
2020-04-01  Andrea Corallo  <andrea.corallo@arm.com>

* testsuite/experimental/net/execution_context/use_service.cc:
Require pthread and gthreads.

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/net/execution_context/use_service.cc

index ed2c4b77ac1fc390d2c74dd46134019e764cfb39..e713fd235e9981862408f87cb2038df53f4e3441 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-01  Andrea Corallo  <andrea.corallo@arm.com>
+
+       * testsuite/experimental/net/execution_context/use_service.cc:
+       Require pthread and gthreads.
+
 2020-04-01  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/xml/manual/appendix_free.xml: Move "free books" list from
index 8a2d03fb1bb8bc015d3fb4e85913f0d1e0352827..d242d63cb94e2dc3c443c121447793aca0558914 100644 (file)
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { 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 <experimental/executor>
 #include <testsuite_hooks.h>