IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 42f023f3 authored by ralfulrich's avatar ralfulrich
Browse files

include ALL unit tests

parent bc7651a4
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ build:
artifacts:
paths:
- build/test.log.gz
when: always
when: on_failure
reports:
junit:
- build/test_outputs/junit*.xml
......
......@@ -2,24 +2,24 @@ add_executable (helix_example helix_example.cc)
target_compile_options(helix_example PRIVATE -g) # do not skip asserts
target_link_libraries(helix_example CORSIKAgeometry CORSIKAunits)
install (TARGETS helix_example DESTINATION share/examples)
add_test(helix_example helix_example)
CORSIKA_ADD_TEST (helix_example)
add_executable (geometry_example geometry_example.cc)
target_compile_options(geometry_example PRIVATE -g) # do not skip asserts
target_link_libraries (geometry_example CORSIKAgeometry CORSIKAunits)
install (TARGETS geometry_example DESTINATION share/examples)
add_test(geometry_example geometry_example)
CORSIKA_ADD_TEST (geometry_example)
add_executable (logger_example logger_example.cc)
target_compile_options(logger_example PRIVATE -g) # do not skip asserts
target_link_libraries (logger_example CORSIKAunits CORSIKAlogging)
install (TARGETS logger_example DESTINATION share/examples)
add_test(logger_example logger_example)
CORSIKA_ADD_TEST (logger_example)
add_executable (stack_example stack_example.cc)
target_compile_options(stack_example PRIVATE -g) # do not skip asserts
target_link_libraries (stack_example SuperStupidStack CORSIKAunits CORSIKAlogging)
add_test(stack_example stack_example)
CORSIKA_ADD_TEST (stack_example)
add_executable (cascade_example cascade_example.cc)
target_compile_options(cascade_example PRIVATE -g) # do not skip asserts
......@@ -36,7 +36,7 @@ target_link_libraries (cascade_example SuperStupidStack CORSIKAunits CORSIKAlogg
CORSIKAprocesssequence
)
install (TARGETS cascade_example DESTINATION share/examples)
add_test(cascade_example cascade_example)
CORSIKA_ADD_TEST (cascade_example)
add_executable (staticsequence_example staticsequence_example.cc)
target_compile_options(staticsequence_example PRIVATE -g) # do not skip asserts
......@@ -46,4 +46,4 @@ target_link_libraries (staticsequence_example
CORSIKAgeometry
CORSIKAlogging)
install (TARGETS staticsequence_example DESTINATION share/examples)
add_test(staticsequence_example staticsequence_example)
CORSIKA_ADD_TEST (staticsequence_example)
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