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 6a143cf0fefe841392f09002b9d730befabc2c77..1d31df9dce4d354d74225951fbd8404fc495bd17 100644 (file)
@@ -1,5 +1,9 @@
 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.
index e6dd5e0acd1334be14430f35a9a402feeeab12fc..28ec0e3152a6b72a01f069ac9162f74f1647a1f9 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>