PR libstdc++/81221 only run new test for check-parallel

PR libstdc++/81221
	* testsuite/25_algorithms/sample/81221.cc: Disable except for
	check-parallel.

From-SVN: r249697
This commit is contained in:
Jonathan Wakely 2017-06-27 17:19:16 +01:00 committed by Jonathan Wakely
parent e0c634b165
commit 68fe5f441e
2 changed files with 5 additions and 2 deletions

View 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.

View 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>