Tests that depend on debug mode can't be tested in parallel mode.
* testsuite/17_intro/using_namespace_std_tr1_neg.cc: Skip test for
parallel mode.
* testsuite/20_util/hash/84998.cc: Likewise.
* testsuite/23_containers/deque/types/pmr_typedefs_debug.cc: Likewise.
* testsuite/23_containers/forward_list/pmr_typedefs_debug.cc: Likewise.
* testsuite/23_containers/list/pmr_typedefs_debug.cc: Likewise.
* testsuite/23_containers/map/pmr_typedefs_debug.cc: Likewise.
* testsuite/23_containers/multimap/pmr_typedefs_debug.cc: Likewise.
* testsuite/23_containers/multiset/pmr_typedefs_debug.cc: Likewise.
* testsuite/23_containers/set/pmr_typedefs_debug.cc: Likewise.
* testsuite/23_containers/unordered_map/pmr_typedefs_debug.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/pmr_typedefs_debug.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/pmr_typedefs_debug.cc:
Likewise.
* testsuite/23_containers/unordered_set/pmr_typedefs_debug.cc:
Likewise.
* testsuite/23_containers/vector/cons/destructible_debug_neg.cc:
Likewise.
* testsuite/23_containers/vector/types/pmr_typedefs_debug.cc: Likewise.
* testsuite/25_algorithms/binary_search/partitioned.cc: Likewise.
* testsuite/25_algorithms/copy/86658.cc: Likewise.
* testsuite/25_algorithms/equal_range/partitioned.cc: Likewise.
* testsuite/25_algorithms/lexicographical_compare/71545.cc: Likewise.
* testsuite/25_algorithms/lower_bound/partitioned.cc: Likewise.
* testsuite/25_algorithms/upper_bound/partitioned.cc: Likewise.
From-SVN: r276430
2019-10-01 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Skip test for
+ parallel mode.
+ * testsuite/20_util/hash/84998.cc: Likewise.
+ * testsuite/23_containers/deque/types/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/23_containers/forward_list/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/23_containers/list/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/23_containers/map/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/23_containers/multimap/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/23_containers/multiset/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/23_containers/set/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/23_containers/unordered_map/pmr_typedefs_debug.cc:
+ Likewise.
+ * testsuite/23_containers/unordered_multimap/pmr_typedefs_debug.cc:
+ Likewise.
+ * testsuite/23_containers/unordered_multiset/pmr_typedefs_debug.cc:
+ Likewise.
+ * testsuite/23_containers/unordered_set/pmr_typedefs_debug.cc:
+ Likewise.
+ * testsuite/23_containers/vector/cons/destructible_debug_neg.cc:
+ Likewise.
+ * testsuite/23_containers/vector/types/pmr_typedefs_debug.cc: Likewise.
+ * testsuite/25_algorithms/binary_search/partitioned.cc: Likewise.
+ * testsuite/25_algorithms/copy/86658.cc: Likewise.
+ * testsuite/25_algorithms/equal_range/partitioned.cc: Likewise.
+ * testsuite/25_algorithms/lexicographical_compare/71545.cc: Likewise.
+ * testsuite/25_algorithms/lower_bound/partitioned.cc: Likewise.
+ * testsuite/25_algorithms/upper_bound/partitioned.cc: Likewise.
+
* include/parallel/algo.h: Replace non-reserved names.
* include/parallel/multiway_merge.h: Likewise.
* include/parallel/multiway_mergesort.h: Likewise.
// <http://www.gnu.org/licenses/>.
// NB: parallel-mode uses TR1 bits...
-#undef _GLIBCXX_PARALLEL
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <algorithm>
#include <array>
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
// PR libstdc++/84998
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/deque>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/forward_list>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/list>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/map>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/map>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/set>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/set>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/unordered_map>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/unordered_map>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/unordered_set>
static_assert(std::is_same_v<
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/unordered_set>
static_assert(std::is_same_v<
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <vector>
// { dg-options "-std=gnu++17 -D_GLIBCXX_DEBUG" }
// { dg-do compile { target c++17 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <debug/vector>
static_assert(std::is_same_v<
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <algorithm>
#include <functional>
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do run }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <algorithm>
#include <vector>
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <algorithm>
#include <functional>
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do link { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <algorithm>
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <algorithm>
#include <functional>
// { dg-options "-D_GLIBCXX_DEBUG" }
// { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
#include <algorithm>
#include <functional>