Make all functional tests use statistics.

This commit is contained in:
Matthew Parkinson
2019-08-11 07:54:09 +01:00
parent 2efa4b14fb
commit 96c4acd5dd

View File

@@ -174,6 +174,9 @@ if(NOT DEFINED SNMALLOC_ONLY_HEADER_LIBRARY)
if (${TEST_CATEGORY} MATCHES "perf") if (${TEST_CATEGORY} MATCHES "perf")
set_tests_properties(${TESTNAME} PROPERTIES PROCESSORS 4) set_tests_properties(${TESTNAME} PROPERTIES PROCESSORS 4)
endif() endif()
if (${TEST_CATEGORY} MATCHES "func")
target_compile_definitions(${TESTNAME} PRIVATE -DUSE_SNMALLOC_STATS)
endif ()
endforeach() endforeach()
endforeach() endforeach()
endforeach() endforeach()