12438.cc: Tweak memory limit and iterations to avoid spurious failures on some 64 bit...

2003-12-10  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/22_locale/locale/cons/12438.cc: Tweak memory
	limit and iterations to avoid spurious failures on some
	64 bit machines.

From-SVN: r74489
This commit is contained in:
Paolo Carlini 2003-12-10 09:26:50 +00:00 committed by Paolo Carlini
parent a7eaa37dd0
commit 9877afe873
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-12-10 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/locale/cons/12438.cc: Tweak memory
limit and iterations to avoid spurious failures on some
64 bit machines.
2003-12-09 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Remove private ios_base members from

View File

@ -57,8 +57,8 @@ void test01(int iters)
int main(int argc, char* argv[])
{
// We leaked ~400-500 bytes/iter.
__gnu_test::set_memory_limits(5.0);
int iters = 20000;
__gnu_test::set_memory_limits(10.0);
int iters = 30000;
if (argc > 1)
iters = atoi(argv[1]);