* testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do
not access deleted nodes.
* testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc,
testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc,
testsuite/27_io/basic_filebuf/open/char/4.cc,
testsuite/27_io/objects/char/9.cc: Use dg-require-fileio.
* testsuite/ext/forced_exception_error/cons_virtual_derivation.cc,
testsuite/ext/pb_ds/regression/hash_data_map_rand.cc,
testsuite/ext/pb_ds/regression/trie_data_map_rand.cc,
testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc,
testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc,
testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc,
testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc,
testsuite/ext/pb_ds/regression/priority_queue_rand.cc,
testsuite/ext/pb_ds/regression/tree_data_map_rand.cc,
testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc,
testsuite/ext/throw_allocator/deallocate_global.cc,
testsuite/ext/throw_allocator/check_delete.cc,
testsuite/ext/throw_allocator/check_allocate_max_size.cc,
testsuite/ext/throw_allocator/check_deallocate_null.cc,
testsuite/ext/throw_allocator/check_new.cc,
testsuite/ext/throw_allocator/deallocate_local.cc,
testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/cons/gen1.cc,
testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/gen1.cc,
testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/gen1.cc,
testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/gen1.cc,
testsuite/23_containers/list/modifiers/insert/25288.cc: Use
dg-require-time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127590
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-08-17 Daniel Jacobowitz <dan@codesourcery.com>
+
+ PR testsuite/31884
+ * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do
+ not access deleted nodes.
+
+ * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc,
+ testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc,
+ testsuite/27_io/basic_filebuf/open/char/4.cc,
+ testsuite/27_io/objects/char/9.cc: Use dg-require-fileio.
+ * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc,
+ testsuite/ext/pb_ds/regression/hash_data_map_rand.cc,
+ testsuite/ext/pb_ds/regression/trie_data_map_rand.cc,
+ testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc,
+ testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc,
+ testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc,
+ testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc,
+ testsuite/ext/pb_ds/regression/priority_queue_rand.cc,
+ testsuite/ext/pb_ds/regression/tree_data_map_rand.cc,
+ testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc,
+ testsuite/ext/throw_allocator/deallocate_global.cc,
+ testsuite/ext/throw_allocator/check_delete.cc,
+ testsuite/ext/throw_allocator/check_allocate_max_size.cc,
+ testsuite/ext/throw_allocator/check_deallocate_null.cc,
+ testsuite/ext/throw_allocator/check_new.cc,
+ testsuite/ext/throw_allocator/deallocate_local.cc,
+ testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/cons/gen1.cc,
+ testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/gen1.cc,
+ testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/gen1.cc,
+ testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/gen1.cc,
+ testsuite/23_containers/list/modifiers/insert/25288.cc: Use
+ dg-require-time.
+
2007-08-17 Paolo Carlini <pcarlini@suse.de>
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
// 23.2.2.3 list modifiers [lib.list.modifiers]
+// { dg-require-time "" }
+
#include <list>
#include <testsuite_hooks.h>
#include <ext/throw_allocator.h>
#include <cstring>
#include <testsuite_hooks.h>
+// { dg-require-fileio "" }
+
// In the occasion of libstdc++/25482
void test01()
{
#include <algorithm>
#include <testsuite_hooks.h>
+// { dg-require-fileio "" }
+
// In the occasion of libstdc++/25482
void test01()
{
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-fileio "" }
+
#include <fstream>
#include <testsuite_hooks.h>
// with this library; see the file COPYING. If not, write to the Free
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+
+// { dg-require-fileio "" }
#include <iostream>
#include <cstdio>
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-time "" }
+
#include <ext/throw_allocator.h>
#include <testsuite_api.h>
// node to the neighbor.
const size_t pot_dist = dist + a_a_edge_legnth[node_id][neighbor_i];
+ if (a_it[neighbor_i] == a_it[0])
+ continue;
+
// "Relax" the distance (if appropriate) through modify.
if (pot_dist < a_it[neighbor_i]->second)
p.modify(a_it[neighbor_i], pq_value(neighbor_i, pot_dist));
}
// Done with the node, so we pop it.
+ a_it[node_id] = a_it[0];
p.pop();
}
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
* Contains a random-operation test for priority queues.
*/
+// { dg-require-time "" }
+
#include <regression/rand/priority_queue/rand_regression_test.hpp>
#include <regression/priority_queue/common_type.hpp>
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
* Contains a random-operation test for maps and sets.
*/
+// { dg-require-time "" }
+
#include <regression/rand/assoc/rand_regression_test.hpp>
#include <regression/assoc/common_type.hpp>
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-time "" }
+
#include <ext/throw_allocator.h>
#include <testsuite_allocator.h>
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-time "" }
+
#include <ext/throw_allocator.h>
#include <testsuite_allocator.h>
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-time "" }
+
#include <cstdlib>
#include <ext/throw_allocator.h>
#include <testsuite_hooks.h>
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-time "" }
+
#include <cstdlib>
#include <ext/throw_allocator.h>
#include <testsuite_hooks.h>
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-time "" }
+
#include <string>
#include <stdexcept>
#include <ext/throw_allocator.h>
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-require-time "" }
+
#include <string>
#include <ext/throw_allocator.h>
#include <testsuite_hooks.h>
// 5.1.4.1 class template linear_congruential [tr.rand.eng.lcong]
// 5.1.1 Table 16 line 3 template ctor(gen)
+// { dg-require-time "" }
+
#include <ctime>
#include <tr1/random>
#include <testsuite_hooks.h>
// 5.1.4.2 class template mersenne_twister [tr.rand.eng.mers]
// 5.1.1 Table 16 line 3 Gen ctor
+// { dg-require-time "" }
+
#include <ctime>
#include <tr1/random>
#include <testsuite_hooks.h>
// 5.1.4.3 class template subtract_with_carry [tr.rand.eng.sub]
// 5.1.1 Table 16 line 3 Gen ctor
+// { dg-require-time "" }
+
#include <ctime>
#include <tr1/random>
#include <testsuite_hooks.h>
// 5.1.4.4 class template subtract_with_carry_01 [tr.rand.eng.sub1]
// 5.1.1 Table 16 line 3 Gen ctor
+// { dg-require-time "" }
+
#include <ctime>
#include <tr1/random>
#include <testsuite_hooks.h>