mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
[cmake] Prepend UBSan options to Env
This commit is contained in:
parent
6aa4eee0f4
commit
6be41fb47a
@ -30,5 +30,5 @@ endforeach()
|
||||
# Set UBSan Options for all tests
|
||||
set_property(TEST ${all_tests} PROPERTY
|
||||
ENVIRONMENT
|
||||
UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1
|
||||
UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1:$ENV{UBSAN_OPTIONS}
|
||||
)
|
||||
|
@ -18,5 +18,5 @@ set_property(TEST ${all_tests} PROPERTY
|
||||
ENVIRONMENT
|
||||
PYTHONPATH=${CMAKE_BINARY_DIR}/python:$ENV{PYTHONPATH}
|
||||
LD_PRELOAD=$<$<BOOL:${ASAN}>:${ASAN_RT_LIBRARY}>:$<$<BOOL:${UBSAN}>:${UBSAN_RT_LIBRARY}>
|
||||
UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1
|
||||
UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1:$ENV{UBSAN_OPTIONS}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user