File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 8282 - name : Run "ctest --output-on-failure" with proxy library and size.threshold=128
8383 working-directory : ${{env.BUILD_DIR}}
8484 run : >
85- UMF_PROXY="size.threshold=128"
85+ UMF_PROXY="page.disposition=shared-shm; size.threshold=128"
8686 LD_PRELOAD=./lib/libumf_proxy.so
8787 ctest --output-on-failure -E provider_file_memory_ipc
8888
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ static __TLS int was_called_from_malloc_usable_size = 0;
142142#ifndef _WIN32
143143static size_t get_size_threshold (void ) {
144144 char * str_threshold = utils_env_var_get_str ("UMF_PROXY" , "size.threshold=" );
145+ LOG_DEBUG ("UMF_PROXY[size.threshold] = %s" , str_threshold );
145146 long threshold = utils_get_size_threshold (str_threshold );
146147 if (threshold < 0 ) {
147148 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)
420420 NAME test_proxy_lib_size_threshold
421421 SRCS ${BA_SOURCES_FOR_TEST} test_proxy_lib_size_threshold.cpp
422422 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" )
427425 endif ()
428426
429427 # the memoryPool test run with the proxy library
You can’t perform that action at this time.
0 commit comments