From 96c4acd5dd83b22be9f5589dd9cee6bea01fbca2 Mon Sep 17 00:00:00 2001 From: Matthew Parkinson Date: Sun, 11 Aug 2019 07:54:09 +0100 Subject: [PATCH] Make all functional tests use statistics. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index eeab751..e94965a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -174,6 +174,9 @@ if(NOT DEFINED SNMALLOC_ONLY_HEADER_LIBRARY) if (${TEST_CATEGORY} MATCHES "perf") set_tests_properties(${TESTNAME} PROPERTIES PROCESSORS 4) endif() + if (${TEST_CATEGORY} MATCHES "func") + target_compile_definitions(${TESTNAME} PRIVATE -DUSE_SNMALLOC_STATS) + endif () endforeach() endforeach() endforeach()