summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tgrandom.c1
-rw-r--r--tests/tpow.c1
-rw-r--r--tests/troot.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/tgrandom.c b/tests/tgrandom.c
index 1d3967251..74ef6486c 100644
--- a/tests/tgrandom.c
+++ b/tests/tgrandom.c
@@ -20,6 +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. */
+#define _MPFR_NO_DEPRECATED_GRANDOM
#include "mpfr-test.h"
static void
diff --git a/tests/tpow.c b/tests/tpow.c
index d5e968b3a..c96060433 100644
--- a/tests/tpow.c
+++ b/tests/tpow.c
@@ -23,6 +23,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include <float.h>
#include <math.h>
+#define _MPFR_NO_DEPRECATED_ROOT
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/troot.c b/tests/troot.c
index 9ec0e34dd..1cc1927bf 100644
--- a/tests/troot.c
+++ b/tests/troot.c
@@ -25,6 +25,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#else
# define TF_IS_MPFR_ROOT 1
# define TF mpfr_root
+# define _MPFR_NO_DEPRECATED_ROOT
#endif
#include "mpfr-test.h"