summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/mpf_compat.c2
-rw-r--r--tests/mpfr_compat.c2
-rw-r--r--tests/tabort_defalloc1.c2
-rw-r--r--tests/tabort_defalloc2.c2
-rw-r--r--tests/tcan_round.c2
-rw-r--r--tests/terandom.c2
-rw-r--r--tests/terandom_chisq.c2
-rw-r--r--tests/tests.c4
-rw-r--r--tests/tfprintf.c2
-rw-r--r--tests/tget_f.c2
-rw-r--r--tests/tgmpop.c2
-rw-r--r--tests/tgrandom.c2
-rw-r--r--tests/tnrandom.c2
-rw-r--r--tests/tnrandom_chisq.c2
-rw-r--r--tests/tprintf.c2
-rw-r--r--tests/trandom.c2
-rw-r--r--tests/trandom_deviate.c2
-rw-r--r--tests/tset_f.c2
-rw-r--r--tests/tset_q.c2
-rw-r--r--tests/tsprintf.c2
-rw-r--r--tests/turandom.c2
21 files changed, 22 insertions, 22 deletions
diff --git a/tests/mpf_compat.c b/tests/mpf_compat.c
index 39801636c..b1518acd1 100644
--- a/tests/mpf_compat.c
+++ b/tests/mpf_compat.c
@@ -20,7 +20,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
#define MPF
#define mpf_free_str mpfr_free_str
diff --git a/tests/mpfr_compat.c b/tests/mpfr_compat.c
index a8d264a9c..3491f3ccd 100644
--- a/tests/mpfr_compat.c
+++ b/tests/mpfr_compat.c
@@ -20,7 +20,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
#define MPFR
#define mpf_free_str mpfr_free_str
diff --git a/tests/tabort_defalloc1.c b/tests/tabort_defalloc1.c
index 3d94347cc..1a677a2b9 100644
--- a/tests/tabort_defalloc1.c
+++ b/tests/tabort_defalloc1.c
@@ -23,7 +23,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define MPFR_NEED_LONGLONG_H
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
int
main (int argc, char **argv)
diff --git a/tests/tabort_defalloc2.c b/tests/tabort_defalloc2.c
index 71732d6f4..d56a209b9 100644
--- a/tests/tabort_defalloc2.c
+++ b/tests/tabort_defalloc2.c
@@ -23,7 +23,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define MPFR_NEED_LONGLONG_H
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
int
main (int argc, char **argv)
diff --git a/tests/tcan_round.c b/tests/tcan_round.c
index 8e3acfc3e..733c0abb4 100644
--- a/tests/tcan_round.c
+++ b/tests/tcan_round.c
@@ -48,7 +48,7 @@ check_round_p (void)
printf ("mpfr_round_p(%d) != mpfr_can_round(%d)!\n"
"bn = %ld, err0 = %ld, prec = %lu\nbp = ",
r1, r2, n, (long) err, (unsigned long) p);
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
gmp_printf ("%NX\n", buf, n);
#endif
exit (1);
diff --git a/tests/terandom.c b/tests/terandom.c
index d25120ebe..68f75346a 100644
--- a/tests/terandom.c
+++ b/tests/terandom.c
@@ -70,7 +70,7 @@ test_erandom (long nbtests, mpfr_prec_t prec, mpfr_rnd_t rnd,
}
}
-#ifdef HAVE_STDARG && !defined(WANT_MINI_GMP)
+#ifdef HAVE_STDARG && !defined(MPFR_USE_MINI_GMP)
if (verbose)
{
mpfr_init2 (av, prec);
diff --git a/tests/terandom_chisq.c b/tests/terandom_chisq.c
index 9fbcda44d..9b1ff0834 100644
--- a/tests/terandom_chisq.c
+++ b/tests/terandom_chisq.c
@@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
/* Return Phi(x) = 1 - exp(-x), the cumulative probability function for the
* exponential distribution. We only take differences of this function so the
diff --git a/tests/tests.c b/tests/tests.c
index 57be068d4..08d2c142e 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -229,7 +229,7 @@ tests_start_mpfr (void)
feclearexcept (FE_ALL_EXCEPT);
#endif
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
/* disable since mini-gmp does not keep track of old_size in realloc/free */
tests_memory_start ();
#endif
@@ -259,7 +259,7 @@ tests_end_mpfr (void)
mpfr_free_cache ();
tests_rand_end ();
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
tests_memory_end ();
#endif
diff --git a/tests/tfprintf.c b/tests/tfprintf.c
index 788b99fb9..0f19141b1 100644
--- a/tests/tfprintf.c
+++ b/tests/tfprintf.c
@@ -20,7 +20,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#if defined(HAVE_STDARG) && !defined(WANT_MINI_GMP)
+#if defined(HAVE_STDARG) && !defined(MPFR_USE_MINI_GMP)
#include <stdarg.h>
#include <float.h>
diff --git a/tests/tget_f.c b/tests/tget_f.c
index 6fe39861c..05ef56d50 100644
--- a/tests/tget_f.c
+++ b/tests/tget_f.c
@@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
/* Test that there is no lost of accuracy when converting a mpfr_t number
into a mpf_t number (test with various precisions and exponents). */
diff --git a/tests/tgmpop.c b/tests/tgmpop.c
index 62a18977f..49c06d262 100644
--- a/tests/tgmpop.c
+++ b/tests/tgmpop.c
@@ -23,7 +23,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
#define CHECK_FOR(str, cond) \
if ((cond) == 0) { \
diff --git a/tests/tgrandom.c b/tests/tgrandom.c
index 45cf1ba9b..1fe9a335d 100644
--- a/tests/tgrandom.c
+++ b/tests/tgrandom.c
@@ -77,7 +77,7 @@ test_grandom (long nbtests, mpfr_prec_t prec, mpfr_rnd_t rnd,
}
}
-#if defined(HAVE_STDARG) && !defined(WANT_MINI_GMP)
+#if defined(HAVE_STDARG) && !defined(MPFR_USE_MINI_GMP)
if (verbose)
{
mpfr_init2 (av, prec);
diff --git a/tests/tnrandom.c b/tests/tnrandom.c
index f33ced791..654e08544 100644
--- a/tests/tnrandom.c
+++ b/tests/tnrandom.c
@@ -70,7 +70,7 @@ test_nrandom (long nbtests, mpfr_prec_t prec, mpfr_rnd_t rnd,
}
}
-#ifdef HAVE_STDARG && !defined(WANT_MINI_GMP)
+#ifdef HAVE_STDARG && !defined(MPFR_USE_MINI_GMP)
if (verbose)
{
mpfr_init2 (av, prec);
diff --git a/tests/tnrandom_chisq.c b/tests/tnrandom_chisq.c
index 49c02e40f..9bb21d58b 100644
--- a/tests/tnrandom_chisq.c
+++ b/tests/tnrandom_chisq.c
@@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
/* Return Phi(x) = erf(x / sqrt(2)) / 2, the cumulative probability function
* for the normal distribution. We only take differences of this function so
diff --git a/tests/tprintf.c b/tests/tprintf.c
index 58defba54..8229449a2 100644
--- a/tests/tprintf.c
+++ b/tests/tprintf.c
@@ -20,7 +20,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#if defined(HAVE_STDARG) && !defined(WANT_MINI_GMP)
+#if defined(HAVE_STDARG) && !defined(MPFR_USE_MINI_GMP)
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/trandom.c b/tests/trandom.c
index 3ab5c7716..f577f21d7 100644
--- a/tests/trandom.c
+++ b/tests/trandom.c
@@ -175,7 +175,7 @@ main (int argc, char *argv[])
test_urandomb (nbtests, 2, 0);
}
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
/* since this test assumes a deterministic random generator, and this is not
implemented in mini-gmp, we omit it with mini-gmp */
bug20100914 ();
diff --git a/tests/trandom_deviate.c b/tests/trandom_deviate.c
index b713c2878..9eb2f9ca4 100644
--- a/tests/trandom_deviate.c
+++ b/tests/trandom_deviate.c
@@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
#include "random_deviate.h"
#define W 32 /* Must match value in random_deviate.c */
diff --git a/tests/tset_f.c b/tests/tset_f.c
index 828777904..a31d7e569 100644
--- a/tests/tset_f.c
+++ b/tests/tset_f.c
@@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
int
main (void)
diff --git a/tests/tset_q.c b/tests/tset_q.c
index 558f43749..c1a3dad04 100644
--- a/tests/tset_q.c
+++ b/tests/tset_q.c
@@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
static void
check (long int n, long int d, mpfr_rnd_t rnd, const char *ys)
diff --git a/tests/tsprintf.c b/tests/tsprintf.c
index 5dd65e480..0a71361af 100644
--- a/tests/tsprintf.c
+++ b/tests/tsprintf.c
@@ -21,7 +21,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#if defined(HAVE_STDARG) && !defined(WANT_MINI_GMP)
+#if defined(HAVE_STDARG) && !defined(MPFR_USE_MINI_GMP)
#include <stdarg.h>
#include <float.h>
diff --git a/tests/turandom.c b/tests/turandom.c
index 14c320a45..fd73a6430 100644
--- a/tests/turandom.c
+++ b/tests/turandom.c
@@ -241,7 +241,7 @@ main (int argc, char *argv[])
}
}
-#ifndef WANT_MINI_GMP
+#ifndef MPFR_USE_MINI_GMP
/* since this test assumes a deterministic random generator, and this is not
implemented in mini-gmp, we omit it with mini-gmp */
bug20100914 ();