diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ad6efda04f97ec6766698d45719e7339bcc96ae..693c162525b57d795e33644cd9e94aed7c8218f1 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)