Use effective target instead of -std in dg-options

* testsuite/20_util/hash/chi2_q_bit_flip_set.cc: Use effective target
	instead of -std in dg-options.
	* testsuite/20_util/hash/chi2_q_bit_string_set.cc: Likewise.
	* testsuite/20_util/hash/chi2_q_numeric_pattern_set.cc: Likewise.
	* testsuite/20_util/hash/chi2_q_uniform_random.cc: Likewise.
	* testsuite/20_util/hash/quality.cc: Likewise.
	* testsuite/25_algorithms/heap/moveable.cc: Likewise.
	* testsuite/25_algorithms/heap/moveable2.cc: Likewise.
	* testsuite/25_algorithms/nth_element/random_test.cc: Likewise.
	* testsuite/25_algorithms/partial_sort/random_test.cc: Likewise.
	* testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise.
	* testsuite/25_algorithms/sort/random_test.cc: Likewise.

From-SVN: r239547
This commit is contained in:
Jonathan Wakely 2016-08-17 20:43:13 +01:00 committed by Jonathan Wakely
parent f771720378
commit 18a20f3f25
12 changed files with 35 additions and 24 deletions

View File

@ -1,5 +1,18 @@
2016-08-17 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/hash/chi2_q_bit_flip_set.cc: Use effective target
instead of -std in dg-options.
* testsuite/20_util/hash/chi2_q_bit_string_set.cc: Likewise.
* testsuite/20_util/hash/chi2_q_numeric_pattern_set.cc: Likewise.
* testsuite/20_util/hash/chi2_q_uniform_random.cc: Likewise.
* testsuite/20_util/hash/quality.cc: Likewise.
* testsuite/25_algorithms/heap/moveable.cc: Likewise.
* testsuite/25_algorithms/heap/moveable2.cc: Likewise.
* testsuite/25_algorithms/nth_element/random_test.cc: Likewise.
* testsuite/25_algorithms/partial_sort/random_test.cc: Likewise.
* testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise.
* testsuite/25_algorithms/sort/random_test.cc: Likewise.
* testsuite/20_util/tuple/67844.cc: Require c++11 effective target.
* testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Likewise.
* testsuite/27_io/rvalue_streams.cc: Likewise.

View File

@ -1,6 +1,6 @@
// { dg-options "-std=gnu++11" }
// Use smaller statistics when running on simulators, so it takes less time.
// { dg-options "-std=gnu++11 -DSAMPLES=30000" { target simulator } }
// { dg-options "-DSAMPLES=30000" { target simulator } }
// { dg-do run { target c++11 } }
// Copyright (C) 2010-2016 Free Software Foundation, Inc.
//

View File

@ -1,8 +1,8 @@
// { dg-options "-std=gnu++11" }
// Use smaller statistics when running on simulators, so it takes less time.
// For e.g. cris-elf, mipsisa32r2el-elf, powerpc-eabi and i386-linux-gnu,
// this test fails for SAMPLES=30000.
// { dg-options "-std=gnu++11 -DSAMPLES=35000" { target simulator } }
// { dg-options "-DSAMPLES=35000" { target simulator } }
// { dg-do run { target c++11 } }
// Copyright (C) 2010-2016 Free Software Foundation, Inc.
//

View File

@ -1,7 +1,7 @@
// { dg-options "-std=gnu++11" }
// Use smaller statistics when running on simulators, so it takes less time.
// For x86_64-linux-gnu SAMPLES=30000 fails, so increase slightly.
// { dg-options "-std=gnu++11 -DSAMPLES=35000" { target simulator } }
// { dg-options "-DSAMPLES=35000" { target simulator } }
// { dg-do run { target c++11 } }
// Copyright (C) 2010-2016 Free Software Foundation, Inc.
//

View File

@ -1,7 +1,7 @@
// { dg-options "-std=gnu++11" }
// Use smaller statistics when running on simulators, so it takes less time.
// For powerpc-eabi, SAMPLES=30000 fails.
// { dg-options "-std=gnu++11 -DSAMPLES=35000" { target simulator } }
// { dg-options "-DSAMPLES=35000" { target simulator } }
// { dg-do run { target c++11 } }
// Copyright (C) 2010-2016 Free Software Foundation, Inc.
//

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++11" }
// { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21 -std=gnu++11" { target simulator } }
// { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21" { target simulator } }
// { dg-do run { target c++11 } }
// Copyright (C) 2010-2016 Free Software Foundation, Inc.
//

View File

@ -1,5 +1,3 @@
// { dg-options "-std=gnu++11" }
// Copyright (C) 2005-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@ -17,7 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++11 -DITERATIONS=5" { target simulator } }
// { dg-options "-DITERATIONS=5" { target simulator } }
// { dg-do run { target c++11 } }
// 25.3.6 Heap operations [lib.alg.heap.operations]

View File

@ -1,5 +1,3 @@
// { dg-options "-std=gnu++11" }
// Copyright (C) 2009-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@ -17,7 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++11 -DITERATIONS=5" { target simulator } }
// { dg-options "-DITERATIONS=5" { target simulator } }
// { dg-do run { target c++11 } }
// 25.3.6 Heap operations [lib.alg.heap.operations]

View File

@ -15,8 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++11" }
// { dg-options "-std=gnu++11 -DSIMULATOR_TEST" { target simulator } }
// { dg-options "-DSIMULATOR_TEST" { target simulator } }
// { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
// 25.4.2 [lib.alg.nth.element]

View File

@ -15,8 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++11" }
// { dg-options "-std=gnu++11 -DSIMULATOR_TEST" { target simulator } }
// { dg-options "-DSIMULATOR_TEST" { target simulator } }
// { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
// 25.4.1.3 [lib.alg.partial.sort]

View File

@ -15,8 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++11" }
// { dg-options "-std=gnu++11 -DSIMULATOR_TEST" { target simulator } }
// { dg-options "-DSIMULATOR_TEST" { target simulator } }
// { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
// 25.4.1.4 [lib.alg.partial.sort.copy]

View File

@ -15,8 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++11" }
// { dg-options "-std=gnu++11 -DSIMULATOR_TEST" { target simulator } }
// { dg-options "-DSIMULATOR_TEST" { target simulator } }
// { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
// 25.4.1 [lib.alg.sort]