IAP GITLAB

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

fix

parent 0d06b011
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,9 @@ build:
- cd build
- cmake ..
- cmake --build . -- -j 4
- ctest -j4 -V >& test.log
- UBSAN_OPTIONS=print_stacktrace=1
LSAN_OPTIONS=verbosity=1:log_threads=1
ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1 ctest -j4 -V -O test.log
after_script:
- cd build
- ls
......
......@@ -101,8 +101,7 @@ endmacro(CORSIKA_ADD_FILES_ABSOLUTE)
function (CORSIKA_ADD_TEST name)
target_include_directories (${name} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
file (MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/test_outputs/)
add_test (NAME ${name} COMMAND LSAN_OPTIONS=verbosity=1:log_threads=1
${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,undefined")
### 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