From 893e112ef73417ba2188196c804cdc451a0fd155 Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Mon, 20 May 2019 21:43:18 +0200 Subject: [PATCH] include copyright check in unit tests --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ad6efda0..693c16252 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,6 +108,9 @@ if (CMAKE_BUILD_TYPE STREQUAL Coverage) add_custom_target(coverage DEPENDS coverage-report) endif () +# add call to do-interaction to run as unit-test-case +add_test (NAME copyright_notices COMMAND "./do-copyright.py" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + find_package (Pythia8) # optional find_package (Eigen3 REQUIRED) -- GitLab