Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit c8a30c1

Browse files
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
1 parent a8fbebe commit c8a30c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ set_target_properties(SimCore
9696

9797
setup_python(package_name ${PYTHON_PACKAGE_NAME}/SimCore)
9898

99+
# run all *.py files in test during testing
100+
setup_test(config_dir test)
101+
99102
# add visualization executable
100103
add_executable(g4-vis ${PROJECT_SOURCE_DIR}/src/SimCore/g4_vis.cxx)
101104
target_link_libraries(g4-vis PRIVATE Geant4::Interface SimCore::SimCore)

0 commit comments

Comments
 (0)