IAP GITLAB

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

revert to simpler settings

parent dd5aea94
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,8 @@ function (CORSIKA_ADD_TEST name) ...@@ -102,7 +102,8 @@ 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 ${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")
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL AppleClang) if(NOT CMAKE_CXX_COMPILER_ID STREQUAL AppleClang)
# Apple has some security measures which interfere with the leak sanitizer, so we can't use it on OSX # Apple has some security measures which interfere with the leak sanitizer, so we can't use it on OSX
set(sanitize "leak,${sanitize}") set(sanitize "leak,${sanitize}")
......
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