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 f028349..a836ec5 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 7a894a9..861afa8 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 d61f05d..3b207f7 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 c89d79d..59b1263 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 cbcae6f..f35213c 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 74fc49e..7560a69 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 fb19337..c01c82a 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 d8fb640..df463b7 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 58ba13f..014d2f9 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 8046e97..711bf7e 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 27c208d..df9fd61 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 5d139dd..bf92b21 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 2036a58..4c40e0c 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 e67c476..9a41703 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 d856075..92d6d15 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 6b58f58..a71fc71 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 3bce057..51e5c2c 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 743f28a..173215c 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 c4e0b1b..bf5f1e4 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>