]> granicus.if.org Git - gc/commitdiff
New macro (GCTEST_PRINT_VERBOSE) to enable verbose logging in test.c only
authorIvan Maidanski <ivmai@mail.ru>
Thu, 28 Feb 2019 17:50:46 +0000 (20:50 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Feb 2019 17:50:46 +0000 (20:50 +0300)
* tests/test.c [GCTEST_PRINT_VERBOSE] (print_stats): Define to VERBOSE.

tests/test.c

index 04a4a3a56891cdedeae5f88961bb9826aabbd554..f1bc840c29d6d6792ccd164868d7c4341101d75c 100644 (file)
@@ -72,7 +72,7 @@
 # include <windows.h>
 #endif /* MSWIN32 || MSWINCE */
 
-#ifdef GC_PRINT_VERBOSE_STATS
+#if defined(GC_PRINT_VERBOSE_STATS) || defined(GCTEST_PRINT_VERBOSE)
 # define print_stats VERBOSE
 # define INIT_PRINT_STATS /* empty */
 #else