summaryrefslogtreecommitdiff
path: root/tests/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/random.c')
-rw-r--r--tests/random.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/random.c b/tests/random.c
index 587463c..d5f44c4 100644
--- a/tests/random.c
+++ b/tests/random.c
@@ -1,6 +1,6 @@
/* random.c -- Handle seed for random numbers.
-Copyright (C) 2008, 2009, 2010 INRIA
+// Copyright (C) 2008, 2009, 2010, 2011 INRIA
This file is part of GNU MPC.
@@ -48,11 +48,6 @@ test_start (void)
char *environment_seed;
unsigned long seed;
- /* if we use valgrind, no need to have our own memory check */
-#ifndef MPC_USE_VALGRIND
- tests_memory_start ();
-#endif
-
if (rands_initialized)
{
fprintf (stderr,
@@ -101,9 +96,6 @@ test_end (void)
gmp_randclear (rands);
}
mpfr_free_cache ();
-#ifndef MPC_USE_VALGRIND
- tests_memory_end ();
-#endif
}
/* Set z to a non zero value random value with absolute values of Re(z) and