From: Owen Shepherd Date: Sat, 25 Aug 2012 02:19:50 +0000 (+0100) Subject: printf_testcases.h: Don't enable the Tyndur test cases if TEST_CONVERSION_ONLY is... X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=2e74a0b7d074a6cbba5de67bd8a57147758a41e5 printf_testcases.h: Don't enable the Tyndur test cases if TEST_CONVERSION_ONLY is defined (it causes spurious test failures in the _PDCLIB_print test) --- diff --git a/testing/printf_testcases.h b/testing/printf_testcases.h index db41846..3f0d1dc 100644 --- a/testing/printf_testcases.h +++ b/testing/printf_testcases.h @@ -126,6 +126,7 @@ #endif } +#ifndef TEST_CONVERSION_ONLY /****************************************************************************** * NOTE: The following test cases are imported from the Tyndur project. They * * are therefore under the license of said project, not CC0. * @@ -424,4 +425,6 @@ PRINTF_TEST(20, "1234ABCD ", "% -+0*.*X", 20, 5, 0x1234abcdu); PRINTF_TEST(20, "00EDCB5433 ", "% -+0*.*X", 20, 10, -0x1234abcdu); } -/******************************************************************************/ \ No newline at end of file +/******************************************************************************/ +#endif + \ No newline at end of file