diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-17 19:18:21 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-26 20:09:06 -0700 |
commit | 1aecc70750ee6ce9c96ebf3e6b4a7fb322ff8ca3 (patch) | |
tree | 1e2c607ae9980b47917effe4203b4448a1dd4c5f /libmisc/tests/test_log.c | |
parent | c7a0d6de46610ac9ceaea5afe1b7983550fc1be6 (diff) |
Build the full matrix of CMAKE_BUILD_TYPE
Diffstat (limited to 'libmisc/tests/test_log.c')
-rw-r--r-- | libmisc/tests/test_log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmisc/tests/test_log.c b/libmisc/tests/test_log.c index e819c09..49a76ca 100644 --- a/libmisc/tests/test_log.c +++ b/libmisc/tests/test_log.c @@ -57,6 +57,7 @@ int main() { errorf("val=%d", 42)); should_print("info : FROBNICATE: val=0\n", infof("val=%d", 0)); +#ifndef NDEBUG #define CONFIG_FROBNICATE_DEBUG 1 should_print("debug: FROBNICATE: val=-2\n", debugf("val=%d", -2)); @@ -64,5 +65,6 @@ int main() { #define CONFIG_FROBNICATE_DEBUG 0 should_print(NULL, debugf("val=%d", -2)); +#endif return 0; } |