gcc/libstdc++-v3/testsuite/28_regex
Jonathan Wakely 271ad97b6b PR libstdc++/89023 fix test that fails when <omp.h> not available
Instead of a single test that only checks whether <regex> can be
included in Parallel Mode, add tests for each of C++11/C++14/C++17 that
check whether <bits/extc++.h> is compatible with _GLIBCXX_PARALLEL.
This increases the coverage to (almost) all headers.

If <omp.h> is not available then the tests will trivially pass, because
we don't care about compatibility with _GLIBCXX_PARALLEL in that case.

	PR libstdc++/89023
	* testsuite/17_intro/headers/c++2011/parallel_mode.cc: New test.
	* testsuite/17_intro/headers/c++2014/parallel_mode.cc: New test.
	* testsuite/17_intro/headers/c++2017/parallel_mode.cc: New test.
	* testsuite/28_regex/headers/regex/parallel_mode.cc: Remove.

From-SVN: r268769
2019-02-11 12:56:59 +00:00
..
algorithms Update copyright years. 2019-01-01 13:31:55 +01:00
basic_regex Update copyright years. 2019-01-01 13:31:55 +01:00
constants Update copyright years. 2019-01-01 13:31:55 +01:00
headers/regex PR libstdc++/89023 fix test that fails when <omp.h> not available 2019-02-11 12:56:59 +00:00
iterators Update copyright years. 2019-01-01 13:31:55 +01:00
match_results Update copyright years. 2019-01-01 13:31:55 +01:00
regex_error Update copyright years. 2019-01-01 13:31:55 +01:00
requirements Update copyright years. 2019-01-01 13:31:55 +01:00
sub_match Update copyright years. 2019-01-01 13:31:55 +01:00
traits Update copyright years. 2019-01-01 13:31:55 +01:00
init-list.cc Update copyright years. 2019-01-01 13:31:55 +01:00
range_access.cc Update copyright years. 2019-01-01 13:31:55 +01:00
regression.cc Update copyright years. 2019-01-01 13:31:55 +01:00
simple_c++11.cc Update copyright years. 2019-01-01 13:31:55 +01:00