diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-22 04:17:17 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-22 04:17:17 +0000 |
commit | 686e106f1a65968e2e080c94d3e5b8ed0d2d1c6b (patch) | |
tree | 251493de1bcec6a8496b6b11ae1db3e4e10479ec /libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc | |
parent | 0c5fff875e52296016e2901ce6e42fff068dc7e9 (diff) | |
download | gcc-686e106f1a65968e2e080c94d3e5b8ed0d2d1c6b.tar.gz |
2011-07-21 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Move...
* testsuite/ext/pb_ds/regression/tree_set_rand.cc: ... here.
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: Move...
* testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc: ... here.
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Move...
* testsuite/ext/pb_ds/regression/tree_map_rand.cc: ... here.
* testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: Move...
* testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc: ... here.
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Move...
* testsuite/ext/pb_ds/regression/trie_set_rand.cc: ... here.
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: Move...
* testsuite/ext/pb_ds/regression/trie_set_rand_debug.cc: ... here.
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Move...
* testsuite/ext/pb_ds/regression/trie_map_rand.cc: ... here.
* testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: Move...
* testsuite/ext/pb_ds/regression/trie_map_rand_debug.cc: ... here.
* testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Move.
* testsuite/ext/pb_ds/regression/list_update_set_rand.cc: ...here.
* testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
Move...
* testsuite/ext/pb_ds/regression/list_update_set_rand_debug.cc: ...here.
* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Move...
* testsuite/ext/pb_ds/regression/list_update_map_rand.cc: ...here.
* testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
Move...
* testsuite/ext/pb_ds/regression/list_update_map_rand_debug.cc: ...here.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Move...
* testsuite/ext/pb_ds/regression/hash_set_rand.cc: ...here.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: Move...
* testsuite/ext/pb_ds/regression/hash_set_rand_debug.cc: ...here.
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Move...
* testsuite/ext/pb_ds/regression/hash_map_rand.cc: ...here.
* testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: Move...
* testsuite/ext/pb_ds/regression/hash_map_rand_debug.cc: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176613 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc')
-rw-r--r-- | libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc deleted file mode 100644 index 5656a5b2991..00000000000 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc +++ /dev/null @@ -1,73 +0,0 @@ -// { dg-require-time "" } -// This can take long on simulators, timing out the test. -// { dg-options "-DITERATIONS=5" { target simulator } } -// { dg-timeout-factor 2.0 } - -// -*- C++ -*- - -// Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the terms -// of the GNU General Public License as published by the Free Software -// Foundation; either version 3, or (at your option) any later -// version. - -// This library is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. - -// Permission to use, copy, modify, sell, and distribute this software -// is hereby granted without fee, provided that the above copyright -// notice appears in all copies, and that both that copyright notice -// and this permission notice appear in supporting documentation. None -// of the above authors, nor IBM Haifa Research Laboratories, make any -// representation about the suitability of this software for any -// purpose. It is provided "as is" without express or implied -// warranty. - -/** - * @file hash_data_map_rand_regression_test.cpp - * Contains a random-operation test for maps and sets. - */ - -#define PB_DS_REGRESSION - -#include <regression/rand/assoc/rand_regression_test.hpp> -#include <regression/common_type.hpp> - -#ifndef ITERATIONS -# ifdef _GLIBCXX_DEBUG -# define ITERATIONS 100 -# else -# define ITERATIONS 5000 -#endif -#endif - -#ifndef KEYS -# ifdef _GLIBCXX_DEBUG -# define KEYS 200 -# else -# define KEYS 10000 -# endif -#endif - -int -main(int argc, char* a_p_argv[]) -{ - using namespace __gnu_pbds::test; - typedef hash_map_tl_t map_tl_t; - - return rand_regression_test(ITERATIONS, KEYS, - "hash_data_map_rand_regression_test", - map_tl_t()); -} - |