summaryrefslogtreecommitdiff
path: root/tests/random.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-10-18 08:51:42 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-10-18 08:51:42 +0000
commitcebe2307eb89031d5efa5ec867098b3da1ca68fe (patch)
treea4a3c8554c36df093b62dd9c5b0eabad0ac96cd4 /tests/random.c
parent9a45c987e2c458e4631ac18a437955d646b7560d (diff)
downloadmpc-cebe2307eb89031d5efa5ec867098b3da1ca68fe.tar.gz
memory.c, random.c: remove internal memory checks since we rely on valgrind
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1099 211d60ee-9f03-0410-a15a-8952a2c7a4e4
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