public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ibm/heads/gcc-9-branch)] libstdc++-v3/test: Better skip for "use_service.cc"
@ 2020-09-04 19:28 Peter Bergner
0 siblings, 0 replies; only message in thread
From: Peter Bergner @ 2020-09-04 19:28 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:5e4128fd723d6ff7b19600e96839d2bd9c9a69e4
commit 5e4128fd723d6ff7b19600e96839d2bd9c9a69e4
Author: Andrea Corallo <andrea.corallo@arm.com>
Date: Wed Apr 1 10:19:04 2020 +0100
libstdc++-v3/test: Better skip for "use_service.cc"
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)
Diff:
---
.../testsuite/experimental/net/execution_context/use_service.cc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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 5b3087059cf..e9a1915639a 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
// <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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-04 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 19:28 [gcc(refs/vendors/ibm/heads/gcc-9-branch)] libstdc++-v3/test: Better skip for "use_service.cc" Peter Bergner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).