From cd687940c130282ef29f45b1b7bba5807b902b42 Mon Sep 17 00:00:00 2001 From: tomeichlersmith Date: Mon, 22 Jan 2024 10:48:10 -0600 Subject: [PATCH] enable all .py files in test to be tests the test is just to make sure that they successfully run, nothing is done with the data there, but it is helpful to make sure that basic simulation stuff can run at all during development --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa0c80cb..60b0bd41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,6 +96,9 @@ set_target_properties(SimCore setup_python(package_name ${PYTHON_PACKAGE_NAME}/SimCore) +# run all *.py files in test during testing +setup_test(config_dir test) + # add visualization executable add_executable(g4-vis ${PROJECT_SOURCE_DIR}/src/SimCore/g4_vis.cxx) target_link_libraries(g4-vis PRIVATE Geant4::Interface SimCore::SimCore)