summaryrefslogtreecommitdiff
path: root/tests/tget_set_d64.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-12 00:58:43 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-12 00:58:43 +0000
commit1f6acb449b1bad7fdc9cfbf7dd6e975b5fb082fc (patch)
tree12d559ed7b5332d0832eeace3649055cfd697299 /tests/tget_set_d64.c
parent70bac44edc68944ae008d3ae03e3b5a9bde921bc (diff)
downloadmpfr-1f6acb449b1bad7fdc9cfbf7dd6e975b5fb082fc.tar.gz
Completed r11955: There were also DEBUG macros under the "tests"
directory. Since such macros can still be useful in case a test failure, replaced them by MPFR_DEBUG to avoid issues with CI builds that define the DEBUG macro. But an environment variable would be a better solution (see MPFR_DEBUG_BADCASES as an example). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11958 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_set_d64.c')
-rw-r--r--tests/tget_set_d64.c4
1 files changed, 1 insertions, 3 deletions
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