Skip to content

Commit

Permalink
Move some tests to podio_gen
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Nov 6, 2023
1 parent 2c4d809 commit 6c158bd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/templates
IF (BUILD_TESTING)
add_test( NAME pyunittest COMMAND python3 -m unittest discover -s ${PROJECT_SOURCE_DIR}/python/podio)
PODIO_SET_TEST_ENV(pyunittest)
add_test( NAME pyunittest_gen COMMAND python3 -m unittest discover -s ${PROJECT_SOURCE_DIR}/python/podio_gen)
PODIO_SET_TEST_ENV(pyunittest_gen)

set_property(TEST pyunittest PROPERTY DEPENDS write write_frame_root)
if (TARGET write_sio)
set_property(TEST pyunittest PROPERTY DEPENDS write_sio write_frame_sio)
endif()
set_property(TEST pyunittest PROPERTY WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/tests)
set_tests_properties(pyunittest pyunittest_gen PROPERTIES WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/tests)
ENDIF()
File renamed without changes.
File renamed without changes.

0 comments on commit 6c158bd

Please sign in to comment.