Use effective target in Networking TS tests
authorJonathan Wakely <jwakely@redhat.com>
Tue, 16 Oct 2018 15:37:10 +0000 (16:37 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 16 Oct 2018 15:37:10 +0000 (16:37 +0100)
* testsuite/experimental/net/headers.cc: Remove dg-options.
* testsuite/experimental/net/buffer/arithmetic.cc: Replace dg-options
with dg-do using effective target.
* testsuite/experimental/net/buffer/const.cc: Likewise.
* testsuite/experimental/net/buffer/creation.cc: Likewise.
* testsuite/experimental/net/buffer/mutable.cc: Likewise.
* testsuite/experimental/net/buffer/size.cc: Likewise.
* testsuite/experimental/net/buffer/traits.cc: Likewise.
* testsuite/experimental/net/execution_context/use_service.cc:
Likewise.
* testsuite/experimental/net/internet/address/v4/comparisons.cc:
Likewise.
* testsuite/experimental/net/internet/address/v4/cons.cc: Likewise.
* testsuite/experimental/net/internet/address/v4/creation.cc:
Likewise.
* testsuite/experimental/net/internet/address/v4/members.cc: Likewise.
* testsuite/experimental/net/internet/resolver/base.cc: Likewise.
* testsuite/experimental/net/internet/resolver/ops/lookup.cc:
Likewise.
* testsuite/experimental/net/internet/resolver/ops/reverse.cc:
Likewise.
* testsuite/experimental/net/timer/waitable/cons.cc: Likewise.
* testsuite/experimental/net/timer/waitable/dest.cc: Likewise.
* testsuite/experimental/net/timer/waitable/ops.cc: Likewise.

From-SVN: r265200

19 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/net/buffer/arithmetic.cc
libstdc++-v3/testsuite/experimental/net/buffer/const.cc
libstdc++-v3/testsuite/experimental/net/buffer/creation.cc
libstdc++-v3/testsuite/experimental/net/buffer/mutable.cc
libstdc++-v3/testsuite/experimental/net/buffer/size.cc
libstdc++-v3/testsuite/experimental/net/buffer/traits.cc
libstdc++-v3/testsuite/experimental/net/execution_context/use_service.cc
libstdc++-v3/testsuite/experimental/net/headers.cc
libstdc++-v3/testsuite/experimental/net/internet/address/v4/comparisons.cc
libstdc++-v3/testsuite/experimental/net/internet/address/v4/cons.cc
libstdc++-v3/testsuite/experimental/net/internet/address/v4/creation.cc
libstdc++-v3/testsuite/experimental/net/internet/address/v4/members.cc
libstdc++-v3/testsuite/experimental/net/internet/resolver/base.cc
libstdc++-v3/testsuite/experimental/net/internet/resolver/ops/lookup.cc
libstdc++-v3/testsuite/experimental/net/internet/resolver/ops/reverse.cc
libstdc++-v3/testsuite/experimental/net/timer/waitable/cons.cc
libstdc++-v3/testsuite/experimental/net/timer/waitable/dest.cc
libstdc++-v3/testsuite/experimental/net/timer/waitable/ops.cc

index f02834996565a33e7b2a705b9ec5324743fc8438..a836ec58f45d0d7d06df1023a0dd515ff98740a3 100644 (file)
@@ -1,5 +1,30 @@
 2018-10-16  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/experimental/net/headers.cc: Remove dg-options.
+       * testsuite/experimental/net/buffer/arithmetic.cc: Replace dg-options
+       with dg-do using effective target.
+       * testsuite/experimental/net/buffer/const.cc: Likewise.
+       * testsuite/experimental/net/buffer/creation.cc: Likewise.
+       * testsuite/experimental/net/buffer/mutable.cc: Likewise.
+       * testsuite/experimental/net/buffer/size.cc: Likewise.
+       * testsuite/experimental/net/buffer/traits.cc: Likewise.
+       * testsuite/experimental/net/execution_context/use_service.cc:
+       Likewise.
+       * testsuite/experimental/net/internet/address/v4/comparisons.cc:
+       Likewise.
+       * testsuite/experimental/net/internet/address/v4/cons.cc: Likewise.
+       * testsuite/experimental/net/internet/address/v4/creation.cc:
+       Likewise.
+       * testsuite/experimental/net/internet/address/v4/members.cc: Likewise.
+       * testsuite/experimental/net/internet/resolver/base.cc: Likewise.
+       * testsuite/experimental/net/internet/resolver/ops/lookup.cc:
+       Likewise.
+       * testsuite/experimental/net/internet/resolver/ops/reverse.cc:
+       Likewise.
+       * testsuite/experimental/net/timer/waitable/cons.cc: Likewise.
+       * testsuite/experimental/net/timer/waitable/dest.cc: Likewise.
+       * testsuite/experimental/net/timer/waitable/ops.cc: Likewise.
+
        * include/experimental/socket (basic_socket::at_mark): Add missing
        return.
 
index 7a894a9053003a9c61a0e228affbc103b18ac945..861afa83e4646e694a88a1d60305a46ff82091bb 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/buffer>
 #include <testsuite_hooks.h>
index d61f05dc897c90b52793fe41da72a591dabb74a2..3b207f7717a20030a0e5edcc4e950117d7236f8e 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/buffer>
 #include <testsuite_hooks.h>
index c89d79dbde27939df659e63471cab7acdfb23168..59b126352af4bc99e9728dd3ecbab89c4f79a7c5 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/buffer>
 #include <testsuite_hooks.h>
index cbcae6fc68613cba256426dc98f62d7f2fb8dd94..f35213c0f14b72369c8e3fcbd48687023973f1ea 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/buffer>
 #include <testsuite_hooks.h>
index 74fc49eca772c48bd09a2c5712bf15cb927da06a..7560a6991a441994eceed44d9dd627272021f06f 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/buffer>
 #include <testsuite_hooks.h>
index fb19337f04146ea9783cac98f3a3c9ace353401c..c01c82ac156bc63a5b71ad844e5a7565fce8f46e 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
-// { dg-do compile }
+// { dg-do compile { target c++14 } }
 
 #include <experimental/buffer>
 
index d8fb6404b3cde9a3293502edc76efe1b50ad8f30..df463b7c229b2c491ebb015f0ad05a19cf925f3c 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/executor>
 #include <testsuite_hooks.h>
index 58ba13f4744f7a7080c85eacf9622491fc129e41..014d2f914c24bb1611683632a9907eecdc6207ec 100644 (file)
@@ -15,7 +15,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
 // { dg-do compile }
 
 #include <experimental/net>
index 8046e97071d54b9deea6bae6d5d8edf683097a9a..711bf7e9e2dd782466f52e872a7ab188a317e32f 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 // { dg-add-options net_ts }
 
 #include <experimental/internet>
index 27c208d51cbf5656c19a61583ec6518521abd054..df9fd61ca6c5264c945240a986d913b8f9de749a 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 // { dg-add-options net_ts }
 
 #include <experimental/internet>
index 5d139dd5659041328734708fdf58c4f1f7006662..bf92b213fc87f4b7ac030cd9594dd1605af2bf22 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 // { dg-add-options net_ts }
 
 #include <experimental/internet>
index 2036a5866717f8cf46337f6dfaea8304a8e23ac9..4c40e0cf84bea331e357cd24ce4528c185614d02 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 // { dg-add-options net_ts }
 
 #include <experimental/internet>
index e67c476ca9dcd558795c47716a4ecb97b7ce873b..9a41703810a98a1f2375529752c3df8a8b041ed2 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 // { dg-add-options net_ts }
 
 #include <experimental/internet>
index d8560758c5592abf9c2793bd3ca741701d04785e..92d6d1599124718683108066b3885421ec9c744b 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 // { dg-add-options net_ts }
 
 #include <experimental/internet>
index 6b58f584b8c4475b35dcce04e21487c885376a45..a71fc71c172050f1e468c9a46916aba69a942381 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 // { dg-add-options net_ts }
 
 #include <experimental/internet>
index 3bce0576e12f1ebe03641069303230da2453ad40..51e5c2cd611eb26991418028aded25d0725075fe 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/timer>
 #include <testsuite_hooks.h>
index 743f28a55e9e46225994b2f9304c25ce1f403556..173215c98083ec4dadec70b55309bfbe3ec78be3 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/timer>
 #include <testsuite_hooks.h>
index c4e0b1bfe4100e330cf46313d9b8058961b5fbca..bf5f1e4c08e80ae032a4e8ceddb0ace19ea23607 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
 #include <experimental/timer>
 #include <testsuite_hooks.h>