summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/reuse.c28
-rw-r--r--tests/tget_set_d64.c4
-rw-r--r--tests/tsum.c2
3 files changed, 16 insertions, 18 deletions
diff --git a/tests/reuse.c b/tests/reuse.c
index 96163a0f8..2705d7c47 100644
--- a/tests/reuse.c
+++ b/tests/reuse.c
@@ -101,8 +101,8 @@ test3 (int (*testfunc)(mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t),
mpfr_t res1;
int i;
-#ifdef DEBUG
- printf("checking %s\n", foo);
+#ifdef MPFR_DEBUG
+ printf ("checking %s\n", foo);
#endif
mpfr_init2 (ref1, prec);
mpfr_init2 (ref2, prec);
@@ -174,8 +174,8 @@ test4 (int (*testfunc)(mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr,
mpfr_t res;
int i, j, k;
-#ifdef DEBUG
- printf("checking %s\n", foo);
+#ifdef MPFR_DEBUG
+ printf ("checking %s\n", foo);
#endif
mpfr_init2 (ref, prec);
mpfr_init2 (op1, prec);
@@ -303,8 +303,8 @@ test2ui (int (*testfunc)(mpfr_ptr, mpfr_srcptr, unsigned long int, mpfr_rnd_t),
mpfr_t res1;
int i;
-#ifdef DEBUG
- printf("checking %s\n", foo);
+#ifdef MPFR_DEBUG
+ printf ("checking %s\n", foo);
#endif
mpfr_init2 (ref1, prec);
mpfr_init2 (ref2, prec);
@@ -348,8 +348,8 @@ testui2 (int (*testfunc)(mpfr_ptr, unsigned long int, mpfr_srcptr, mpfr_rnd_t),
mpfr_t res1;
int i;
-#ifdef DEBUG
- printf("checking %s\n", foo);
+#ifdef MPFR_DEBUG
+ printf ("checking %s\n", foo);
#endif
mpfr_init2 (ref1, prec);
mpfr_init2 (ref3, prec);
@@ -389,8 +389,8 @@ test2 (int (*testfunc)(mpfr_ptr, mpfr_srcptr, mpfr_rnd_t),
mpfr_t res1;
int i;
-#ifdef DEBUG
- printf("checking %s\n", foo);
+#ifdef MPFR_DEBUG
+ printf ("checking %s\n", foo);
#endif
mpfr_init2 (ref1, prec);
mpfr_init2 (ref2, prec);
@@ -429,7 +429,7 @@ test2a (int (*testfunc)(mpfr_ptr, mpfr_srcptr),
mpfr_t res1;
int i;
-#ifdef DEBUG
+#ifdef MPFR_DEBUG
printf ("checking %s\n", foo);
#endif
mpfr_init2 (ref1, prec);
@@ -469,7 +469,7 @@ test3a (int (*testfunc)(mpfr_ptr, mpfr_ptr, mpfr_srcptr, mpfr_rnd_t),
mpfr_t res1, res2;
int i;
-#ifdef DEBUG
+#ifdef MPFR_DEBUG
printf ("checking %s\n", foo);
#endif
mpfr_init2 (ref1, prec);
@@ -532,8 +532,8 @@ pow_int (mpfr_rnd_t rnd)
mpfr_t res1;
int i;
-#ifdef DEBUG
- printf("pow_int\n");
+#ifdef MPFR_DEBUG
+ printf ("pow_int\n");
#endif
mpfr_inits2 ((randlimb () % 200) + MPFR_PREC_MIN,
ref1, ref2, res1, (mpfr_ptr) 0);
diff --git a/tests/tget_set_d64.c b/tests/tget_set_d64.c
index 6f1203dc8..68d0bd1d8 100644
--- a/tests/tget_set_d64.c
+++ b/tests/tget_set_d64.c
@@ -32,8 +32,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# define DEC64_MAX 9.999999999999999E384dd
#endif
-/* #define DEBUG */
-
#if _MPFR_IEEE_FLOATS
static void
print_decimal64 (_Decimal64 d)
@@ -389,7 +387,7 @@ main (void)
tests_start_mpfr ();
mpfr_test_init ();
-#ifdef DEBUG
+#ifdef MPFR_DEBUG
#ifdef DPD_FORMAT
printf ("Using DPD format\n");
#else
diff --git a/tests/tsum.c b/tests/tsum.c
index f1c814731..9a23849c5 100644
--- a/tests/tsum.c
+++ b/tests/tsum.c
@@ -937,7 +937,7 @@ cancel (void)
rnd = RND_RAND ();
-#if DEBUG
+#if MPFR_DEBUG
printf ("mpfr_sum cancellation test\n");
for (j = 0; j < n; j++)
{