File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 82
82
- name : Run "ctest --output-on-failure" with proxy library and size.threshold=128
83
83
working-directory : ${{env.BUILD_DIR}}
84
84
run : >
85
- UMF_PROXY="size.threshold=128"
85
+ UMF_PROXY="page.disposition=shared-shm; size.threshold=128"
86
86
LD_PRELOAD=./lib/libumf_proxy.so
87
87
ctest --output-on-failure -E provider_file_memory_ipc
88
88
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ static __TLS int was_called_from_malloc_usable_size = 0;
142
142
#ifndef _WIN32
143
143
static size_t get_size_threshold (void ) {
144
144
char * str_threshold = utils_env_var_get_str ("UMF_PROXY" , "size.threshold=" );
145
+ LOG_DEBUG ("UMF_PROXY[size.threshold] = %s" , str_threshold );
145
146
long threshold = utils_get_size_threshold (str_threshold );
146
147
if (threshold < 0 ) {
147
148
LOG_ERR ("incorrect size threshold: %s" , str_threshold );
Original file line number Diff line number Diff line change @@ -420,10 +420,8 @@ if(UMF_PROXY_LIB_ENABLED AND UMF_BUILD_SHARED_LIBRARY)
420
420
NAME test_proxy_lib_size_threshold
421
421
SRCS ${BA_SOURCES_FOR_TEST} test_proxy_lib_size_threshold.cpp
422
422
LIBS ${UMF_UTILS_FOR_TEST} umf_proxy)
423
- set_property (
424
- TEST umf-test_proxy_lib_size_threshold
425
- PROPERTY ENVIRONMENT
426
- UMF_PROXY="page.disposition=shared-shm;size.threshold=64" )
423
+ set_property (TEST umf-test_proxy_lib_size_threshold
424
+ PROPERTY ENVIRONMENT UMF_PROXY="size.threshold=64" )
427
425
endif ()
428
426
429
427
# the memoryPool test run with the proxy library
You can’t perform that action at this time.
0 commit comments