From 9877afe873735a246e65b668e19dc304f9630a99 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Wed, 10 Dec 2003 09:26:50 +0000 Subject: [PATCH] 12438.cc: Tweak memory limit and iterations to avoid spurious failures on some 64 bit... 2003-12-10 Paolo Carlini * testsuite/22_locale/locale/cons/12438.cc: Tweak memory limit and iterations to avoid spurious failures on some 64 bit machines. From-SVN: r74489 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9087092f4d4..bde6cbf1217 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2003-12-10 Paolo Carlini + + * 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 * config/linker-map.gnu: Remove private ios_base members from diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc index c9129993c7b..70691d320e4 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc @@ -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]);