Skip to content

Commit

Permalink
Also test the python sio writer
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Nov 8, 2023
1 parent 49be381 commit dd3b7f5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/sio_io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ set(sio_dependent_tests
write_frame_sio.cpp
read_frame_legacy_sio.cpp
read_and_write_frame_sio.cpp
read_python_frame_sio.cpp
)
set(sio_libs podio::podioSioIO)
foreach( sourcefile ${sio_dependent_tests} )
Expand Down Expand Up @@ -36,3 +37,9 @@ set_tests_properties(

add_test(NAME check_benchmark_outputs_sio COMMAND check_benchmark_outputs write_benchmark_sio.root read_benchmark_sio.root)
set_property(TEST check_benchmark_outputs_sio PROPERTY DEPENDS read_timed_sio write_timed_sio)

#--- Write via python and the SIO backend and see if we can read it back in in
#--- c++
add_test(NAME write_python_frame_sio COMMAND python3 ${PROJECT_SOURCE_DIR}/tests/write_frame.py example_frame_with_py.sio)
PODIO_SET_TEST_ENV(write_python_frame_sio)
set_property(TEST read_python_frame_sio PROPERTY DEPENDS write_python_frame_sio)

0 comments on commit dd3b7f5

Please sign in to comment.