Skip to content

Commit a9e9467

Browse files
committed
make dynamic override test verbose
1 parent 0774345 commit a9e9467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,14 +731,14 @@ if (MI_BUILD_TESTS)
731731
target_include_directories(mimalloc-test-stress-dynamic PRIVATE include)
732732
if(WIN32)
733733
target_link_libraries(mimalloc-test-stress-dynamic PRIVATE mimalloc ${mi_libraries}) # mi_version
734-
add_test(NAME test-stress-dynamic COMMAND ${CMAKE_COMMAND} -E env MIMALLOC_SHOW_STATS=1 $<TARGET_FILE:mimalloc-test-stress-dynamic>)
734+
add_test(NAME test-stress-dynamic COMMAND ${CMAKE_COMMAND} -E env MIMALLOC_VERBOSE=1 $<TARGET_FILE:mimalloc-test-stress-dynamic>)
735735
else()
736736
if(APPLE)
737737
set(LD_PRELOAD "DYLD_INSERT_LIBRARIES")
738738
else()
739739
set(LD_PRELOAD "LD_PRELOAD")
740740
endif()
741-
add_test(NAME test-stress-dynamic COMMAND ${CMAKE_COMMAND} -E env MIMALLOC_SHOW_STATS=1 ${LD_PRELOAD}=$<TARGET_FILE:mimalloc> $<TARGET_FILE:mimalloc-test-stress-dynamic>)
741+
add_test(NAME test-stress-dynamic COMMAND ${CMAKE_COMMAND} -E env MIMALLOC_VERBOSE=1 ${LD_PRELOAD}=$<TARGET_FILE:mimalloc> $<TARGET_FILE:mimalloc-test-stress-dynamic>)
742742
endif()
743743
endif()
744744
endif()

0 commit comments

Comments
 (0)