PR libstdc++/81221 only run new test for check-parallel
authorJonathan Wakely <jwakely@redhat.com>
Tue, 27 Jun 2017 16:19:16 +0000 (17:19 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 27 Jun 2017 16:19:16 +0000 (17:19 +0100)
PR libstdc++/81221
* testsuite/25_algorithms/sample/81221.cc: Disable except for
check-parallel.

From-SVN: r249697

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/25_algorithms/sample/81221.cc

index 6a143cf..1d31df9 100644 (file)
@@ -1,6 +1,10 @@
 2017-06-27  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/81221
+       * testsuite/25_algorithms/sample/81221.cc: Disable except for
+       check-parallel.
+
+       PR libstdc++/81221
        * include/bits/stl_algo.h (sample): Qualify with _GLIBCXX_STD_A not
        std.
        * testsuite/25_algorithms/sample/81221.cc: New.
index e6dd5e0..28ec0e3 100644 (file)
@@ -17,7 +17,6 @@
 
 // { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++1z } }
+// { dg-require-parallel-mode "" }
 
-#undef _GLIBCXX_PARALLEL
-#define _GLIBCXX_PARALLEL 1
 #include <algorithm>