public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Aldy Hernandez <aldyh@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc/devel/ranger] libstdc++-v3/test: Better skip for "use_service.cc"
Date: Wed, 17 Jun 2020 20:07:33 +0000 (GMT)	[thread overview]
Message-ID: <20200617200733.7B6F2398300E@sourceware.org> (raw)

https://gcc.gnu.org/g:c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2

commit c1effaa209f9f9b4bcf4cd7c6fcfccaf5e59a2b2
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.

Diff:
---
 libstdc++-v3/ChangeLog                                              | 5 +++++
 .../testsuite/experimental/net/execution_context/use_service.cc     | 6 +++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ed2c4b77ac1..e713fd235e9 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 8a2d03fb1bb..d242d63cb94 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>


                 reply	other threads:[~2020-06-17 20:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200617200733.7B6F2398300E@sourceware.org \
    --to=aldyh@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).