Disable tests that aren't valid in parallel mode
authorJonathan Wakely <jwakely@redhat.com>
Tue, 1 Oct 2019 21:02:17 +0000 (22:02 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 1 Oct 2019 21:02:17 +0000 (22:02 +0100)
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

22 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc
libstdc++-v3/testsuite/20_util/hash/84998.cc
libstdc++-v3/testsuite/23_containers/deque/types/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/forward_list/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/list/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/map/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/multimap/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/multiset/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/set/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/unordered_map/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/unordered_set/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/23_containers/vector/cons/destructible_debug_neg.cc
libstdc++-v3/testsuite/23_containers/vector/types/pmr_typedefs_debug.cc
libstdc++-v3/testsuite/25_algorithms/binary_search/partitioned.cc
libstdc++-v3/testsuite/25_algorithms/copy/86658.cc
libstdc++-v3/testsuite/25_algorithms/equal_range/partitioned.cc
libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/71545.cc
libstdc++-v3/testsuite/25_algorithms/lower_bound/partitioned.cc
libstdc++-v3/testsuite/25_algorithms/upper_bound/partitioned.cc

index 5b12f564f1b49b8093e21a0f5770aeca435ca6fe..2a957675112ec8b67d1bf02e35cb56c5a37050a5 100644 (file)
@@ -1,5 +1,33 @@
 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.
index 31242760179568cfa6d781c1d85402323ffcb3bc..bdc4150742487eba232fce9f5e03d0badd4c5c66 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // NB: parallel-mode uses TR1 bits...
-#undef _GLIBCXX_PARALLEL
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <algorithm>
 #include <array>
index 1cf57e9073c952bb6c5478ee8015a5c04a799b27..b00df2234159533e4cde00f47e365991b2b88938 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do compile { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 // PR libstdc++/84998
 
index ac96584a6e0e19186ffe42d2f3365d3d59043962..9bee219b58ff436d95726f482cf0b3ed13e64115 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 7df01d530f8ec82a14f19fd97ce1acbdcc35cba4..66138ba830c3e155746c9f18bb87b93c4e85c7c4 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index d59f8c41d1d791952e2de572522aaa62dd97bdaa..b1bb271aa1c7ae60eb22209c09525630715842ce 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index d06673027e522ded5b8a5ea7b6f404b6e1f8ab77..c959b6957ed0392521691e95038b16134f7f9143 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 641fe26fdbebbf0960c014aa724ec3a73da135db..062e9b22c6da59ce2210380eb633a595f8eb2d75 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 2fa4dda70c6c93cc7d35f1c4823c677a1524fa31..5ac8f9861621edc8a46dd034d85c39ebde816322 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 785986c0673d6c1600eb3df69aab0fd2c912f485..b705108c5e9fbc5327ed37317b1876be4e71ff0e 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 8b3237ed4f694a5db4147a161b6ab35bba012539..73c7f33826542744f5ec775fb339c651b4c40d92 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 50fcf10f5657b7e0e640b3b4b6a647ae0666a38c..2328a3e52234062473712dad91d8661477242d1c 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 8a77d519adc467ccc4426a82885ad0992a4bf2ee..a41c23b06e0b48343fb70198f3f9a6e5ced01716 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 93546dbb47665418545ea7f1d00fa2cca8fe3b59..c6422dbbfa75ea7965dc9249cf97ef26b0e5d107 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 061bb414f4710e61f51adc5803b025369ec1c3ee..daeab2fe26b05daf33b01a8bb7e638df11f8741d 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do compile { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <vector>
 
index 62fb5b674cc8fdc3e6eb2c06c2efdd8a80616041..1db6897a9e3de3d7b7ef27d0e257506cb32b9eba 100644 (file)
@@ -17,6 +17,7 @@
 
 // { 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<
index 43d260ed1c3179607f110870652712f573210228..14a437c308c6af2f6a2da4424b981e0ad18605dc 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <algorithm>
 #include <functional>
index 7092c8b0ce1060351e7e0347daa78ece0df28ecf..410985cb5e09e61c7947ff667015c25c89997db7 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do run }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <algorithm>
 #include <vector>
index a80fe66beff834b52b011a8def9773c04189f013..353fde53cce791d10da7bcd810086f2abcb98cbd 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <algorithm>
 #include <functional>
index 9c8c2938a0deaf9b2082a14d9817457faab4db48..05af7e23b1b89920901b2a409490b8923ef82f65 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do link { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <algorithm>
 
index e48facb7173309366abdf12cbcebbac981904f79..d53da3c199b2728bab340925d3c1f110184aeea0 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <algorithm>
 #include <functional>
index 7dd43b6074d1ecebb771ece2b13ae250b6c3b27a..7ad959297a9b9e6fa90ca49bc9652f93241f85fb 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-D_GLIBCXX_DEBUG" }
 // { dg-do run { target c++11 } }
+// { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
 
 #include <algorithm>
 #include <functional>