IAP GITLAB

Skip to content
Snippets Groups Projects
Commit e001b803 authored by Ralf M Ulrich's avatar Ralf M Ulrich Committed by ralfulrich
Browse files

small improvement

parent b083bce7
No related branches found
No related tags found
No related merge requests found
......@@ -115,9 +115,12 @@ if (CMAKE_BUILD_TYPE STREQUAL Coverage)
add_custom_target (coverage DEPENDS coverage-report)
endif ()
# add call to ./do-copyright.py to run as unit-test-case
add_test (NAME copyright_notices COMMAND ./do-copyright.py WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
# include this test only if NOT run on gitlab-ci, since there we have a dedicated job for it:
if (NOT DEFINED ENV{CI})
# add call to ./do-copyright.py to run as unit-test-case
add_test (NAME copyright_notices COMMAND ./do-copyright.py WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
endif (NOT DEFINED ENV{CI})
if (DEFINED ENV{CORSIKA_DATA})
message ("Found corsika-data in $ENV{CORSIKA_DATA}")
set (CORSIKA_DATA $ENV{CORSIKA_DATA})
......
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