summaryrefslogtreecommitdiff
path: root/tests/tgeneric.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-08-22 07:47:38 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-08-22 07:47:38 +0000
commitdf298441131eff8e0498db98f504204fff082483 (patch)
tree9e886a0de4af99cb4451620f1b27b1d7624924c3 /tests/tgeneric.c
parent98a0e162ed9d7637e9efac6ffd5f413c0b05bdb1 (diff)
downloadmpfr-df298441131eff8e0498db98f504204fff082483.tar.gz
[tests/mpfr-test.h] added macro TEST_FLAGS (debug use only)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13004 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tgeneric.c')
-rw-r--r--tests/tgeneric.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tgeneric.c b/tests/tgeneric.c
index 942987498..f0ff849de 100644
--- a/tests/tgeneric.c
+++ b/tests/tgeneric.c
@@ -91,11 +91,15 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
} \
while (0)
+#if TEST_FLAGS
#define TGENERIC_CHECK_AUX(S, EXPR, U) \
do \
if (!(EXPR)) \
TGENERIC_FAIL (S " for " MAKE_STR(TEST_FUNCTION), x, U); \
while (0)
+#else
+#define TGENERIC_CHECK_AUX(S, EXPR, U)
+#endif
#undef TGENERIC_CHECK
#if defined(TWO_ARGS_ALL)