mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 23:39:31 +03:00
merge from dev
This commit is contained in:
commit
52ae098c27
1 changed files with 3 additions and 3 deletions
|
@ -752,14 +752,14 @@ if (MI_BUILD_TESTS)
|
||||||
target_include_directories(mimalloc-test-stress-dynamic PRIVATE include)
|
target_include_directories(mimalloc-test-stress-dynamic PRIVATE include)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(mimalloc-test-stress-dynamic PRIVATE mimalloc ${mi_libraries}) # mi_version
|
target_link_libraries(mimalloc-test-stress-dynamic PRIVATE mimalloc ${mi_libraries}) # mi_version
|
||||||
add_test(NAME test-stress-dynamic COMMAND ${CMAKE_COMMAND} -E env MIMALLOC_SHOW_STATS=1 $<TARGET_FILE:mimalloc-test-stress-dynamic>)
|
add_test(NAME test-stress-dynamic COMMAND ${CMAKE_COMMAND} -E env MIMALLOC_VERBOSE=1 $<TARGET_FILE:mimalloc-test-stress-dynamic>)
|
||||||
else()
|
else()
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(LD_PRELOAD "DYLD_INSERT_LIBRARIES")
|
set(LD_PRELOAD "DYLD_INSERT_LIBRARIES")
|
||||||
else()
|
else()
|
||||||
set(LD_PRELOAD "LD_PRELOAD")
|
set(LD_PRELOAD "LD_PRELOAD")
|
||||||
endif()
|
endif()
|
||||||
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>)
|
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>)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue