aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2020-04-01 10:19:04 +0100
committerAndrea Corallo <andrea.corallo@arm.com>2020-04-02 11:53:58 +0200
commitc1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2 (patch)
treedf3f5558c7c7228dc88318e355ed45667921f275
parent224efaf7e1e9240b64602ea81a255cb43e4dcb0c (diff)
downloadgcc-c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2.zip
gcc-c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2.tar.gz
gcc-c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2.tar.bz2
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.
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/experimental/net/execution_context/use_service.cc6
2 files changed, 10 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ed2c4b7..e713fd2 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
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 8a2d03f..d242d63 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>