summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-08-27 22:09:01 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-08-27 22:09:01 +0000
commitd209d2d6d6117f370f41a9c84ab1e0fb1da3ad7a (patch)
treebd0588d157d481e16111a30bbd6d7e38e3b17efb
parent0d7a673bc818e3913a312a3e6ed929b1ba408102 (diff)
downloadmpfr-d209d2d6d6117f370f41a9c84ab1e0fb1da3ad7a.tar.gz
[tests/turandom.c] Disabled the reprod_abi test with GMP < 4.2.0
since the hardcoded values would be different. (merged changeset r11669 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11670 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/turandom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/turandom.c b/tests/turandom.c
index d5c8339a7..53fce84e3 100644
--- a/tests/turandom.c
+++ b/tests/turandom.c
@@ -385,6 +385,7 @@ overflow_tests (void)
static void
reprod_abi (void)
{
+#if __MPFR_GMP(4,2,0)
#define N 6
/* Run this program with the MPFR_REPROD_ABI_OUTPUT environment variable
set to get the array of strings. */
@@ -456,6 +457,7 @@ reprod_abi (void)
}
gmp_randclear (s);
+#endif
}
int