r268769 - in /trunk/libstdc++-v3: ChangeLog tes...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Feb 11 12:57:00 GMT 2019


Author: redi
Date: Mon Feb 11 12:56:59 2019
New Revision: 268769

URL: https://gcc.gnu.org/viewcvs?rev=268769&root=gcc&view=rev
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/17_intro/headers/c++2011/parallel_mode.cc
      - copied, changed from r268767, trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
    trunk/libstdc++-v3/testsuite/17_intro/headers/c++2014/parallel_mode.cc
      - copied, changed from r268767, trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
    trunk/libstdc++-v3/testsuite/17_intro/headers/c++2017/parallel_mode.cc
      - copied, changed from r268767, trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
Removed:
    trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
Modified:
    trunk/libstdc++-v3/ChangeLog



More information about the Gcc-cvs mailing list