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

Commit

Permalink
enable all .py files in test to be tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tomeichlersmith committed Jan 22, 2024
1 parent a8fbebe commit cd68794
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cd68794

Please sign in to comment.