summaryrefslogtreecommitdiff
path: root/tests/tests.c
diff options
context:
space:
mode:
author(no author) <(no author)@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-20 17:54:55 +0000
committer(no author) <(no author)@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-20 17:54:55 +0000
commit662ab46d65a908e728ac64d3aac5aefeb2f7a025 (patch)
tree019495d9d35a4c4754502207c3c19d3bfdd775c7 /tests/tests.c
parent7f857964d869e4a3f316a7da845e11a9da0388a5 (diff)
downloadmpfr-662ab46d65a908e728ac64d3aac5aefeb2f7a025.tar.gz
This commit was manufactured by cvs2svn to create tagmpfr-2-0-3-rel
'mpfr-2-0-3-rel'. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/tags/mpfr-2-0-3-rel@2778 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tests.c')
-rw-r--r--tests/tests.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/tests.c b/tests/tests.c
index 4b26d1ef2..6aabacee5 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -93,7 +93,10 @@ tests_rand_start (void)
printf ("ie. ensure that function is called before the first use of RANDS.\n");
abort ();
}
- rands = RANDS;
+
+ gmp_randinit_default (__gmp_rands);
+ __gmp_rands_initialized = 1;
+ rands = __gmp_rands;
perform_seed = getenv ("GMP_CHECK_RANDOMIZE");
if (perform_seed != NULL)