]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 11 Aug 2020 16:21:46 +0000 (17:21 +0100)
2020-04-01  Andrea Corallo  <andrea.corallo@arm.com>

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

(cherry picked from commit c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2)

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

index 5b3087059cfb1c90dd440294c2ae8648885f9037..e9a1915639a759eb446bf918baa4c8a525762018 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>