IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 0d06b011 authored by Hans Dembinski's avatar Hans Dembinski
Browse files

maybe fix

parent 0d6cef12
No related branches found
No related tags found
1 merge request!106Adding sanitizers revealed bugs
...@@ -101,7 +101,8 @@ endmacro(CORSIKA_ADD_FILES_ABSOLUTE) ...@@ -101,7 +101,8 @@ endmacro(CORSIKA_ADD_FILES_ABSOLUTE)
function (CORSIKA_ADD_TEST name) function (CORSIKA_ADD_TEST name)
target_include_directories (${name} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories (${name} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
file (MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/test_outputs/) file (MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/test_outputs/)
add_test (NAME ${name} COMMAND ${name} -o ${PROJECT_BINARY_DIR}/test_outputs/junit-${name}.xml -r junit) add_test (NAME ${name} COMMAND LSAN_OPTIONS=verbosity=1:log_threads=1
${name} -o ${PROJECT_BINARY_DIR}/test_outputs/junit-${name}.xml -r junit)
# set(sanitize "address,implicit-integer-truncation,implicit-conversion,integer,alignment,bool,builtin,bounds,enum,float-cast-overflow,function,pointer-overflow,return,shift,shift-base,shift-exponent,unreachable,vla-bound,vptr") # set(sanitize "address,implicit-integer-truncation,implicit-conversion,integer,alignment,bool,builtin,bounds,enum,float-cast-overflow,function,pointer-overflow,return,shift,shift-base,shift-exponent,unreachable,vla-bound,vptr")
set(sanitize "address,undefined") set(sanitize "address,undefined")
### leak sanitizer disabled for now, doesn't work on buildbot ### leak sanitizer disabled for now, doesn't work on buildbot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment