summaryrefslogtreecommitdiff
path: root/tests/mpz
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2018-12-11 01:43:56 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2018-12-11 01:43:56 +0100
commitbf18c23719176a28e5b24e1b6a84047a657812d3 (patch)
tree778aa67361035f80d934808a91f8933ebd58ef85 /tests/mpz
parent7d31a4b9e2f4cd30d74afd30d3db9658e6773bb8 (diff)
downloadgmp-bf18c23719176a28e5b24e1b6a84047a657812d3.tar.gz
tests/mpz/t-nextprime.c: Use TESTS_REPS
Diffstat (limited to 'tests/mpz')
-rw-r--r--tests/mpz/t-nextprime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mpz/t-nextprime.c b/tests/mpz/t-nextprime.c
index a43f560e9..5607aea05 100644
--- a/tests/mpz/t-nextprime.c
+++ b/tests/mpz/t-nextprime.c
@@ -106,8 +106,7 @@ main (int argc, char **argv)
mpz_init (nxtp);
mpz_init (ref_nxtp);
- if (argc == 2)
- reps = atoi (argv[1]);
+ TESTS_REPS (reps, argv, argc);
for (i = 0; i < reps; i++)
{