From 5392c1fa5f0bb831f4219a8478b1434d84832727 Mon Sep 17 00:00:00 2001 From: Alvaro Tolosa Delgado Date: Fri, 9 Aug 2024 15:41:15 +0200 Subject: [PATCH] add ctest --- DCHdigi/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DCHdigi/CMakeLists.txt b/DCHdigi/CMakeLists.txt index 0f6fd62..d34d7d3 100644 --- a/DCHdigi/CMakeLists.txt +++ b/DCHdigi/CMakeLists.txt @@ -97,3 +97,8 @@ set_test_env(${test_name}) SET(test_name "test_DCHsimpleDigitizerExtendedEdm") ADD_TEST(NAME ${test_name} COMMAND k4run test/runDCHsimpleDigitizerExtendedEdm.py) set_test_env(${test_name}) + +SET(test_name "test_runDCHdigiV2") +ADD_TEST(NAME ${test_name} COMMAND sh +x test_DCHdigi.sh ) +set_test_env(${test_name}) +set_tests_properties(${test_name} PROPERTIES WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/DCHdigi/test/test_DCHdigi")