summaryrefslogtreecommitdiff
path: root/tests/tests.h
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2013-02-20 21:55:23 +0100
committerTorbjorn Granlund <tege@gmplib.org>2013-02-20 21:55:23 +0100
commita7f2c867b95e7546a542c8f10666dd08183ae0ac (patch)
tree476238fb53fb14268b4ca2a6a9cb6026cbe256cd /tests/tests.h
parent4124b7ee63f7bfad59e80fdf00c4dca6aceaa842 (diff)
downloadgmp-a7f2c867b95e7546a542c8f10666dd08183ae0ac.tar.gz
(TESTS_REPS): Keep count >= 10.
Diffstat (limited to 'tests/tests.h')
-rw-r--r--tests/tests.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tests.h b/tests/tests.h
index c1762291d..6b22c2f3c 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -1,6 +1,6 @@
/* Tests support prototypes etc.
-Copyright 2000, 2001, 2002, 2003, 2004, 2008, 2009, 2010, 2011, 2012 Free
+Copyright 2000, 2001, 2002, 2003, 2004, 2008, 2009, 2010, 2011, 2012, 2013 Free
Software Foundation, Inc.
This file is part of the GNU MP Library test suite.
@@ -431,6 +431,7 @@ istringstream : public std::istrstream {
exit (1); \
} \
count *= repfactor; \
+ count = MAX (count, 10); \
reps_nondefault = 1; \
} \
if (reps_nondefault) \