Skip to content

Commit

Permalink
Make sure roundtrip models also have version info
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Aug 28, 2024
1 parent a4abe93 commit 18a1129
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/dumpmodel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ add_test(NAME datamodel_def_store_roundtrip_root COMMAND ${PROJECT_SOURCE_DIR}/t
${PROJECT_BINARY_DIR}/tests/root_io/example_frame.root
datamodel
${PROJECT_SOURCE_DIR}/tests
--datamodel-version=${podio_VERSION}
)
PODIO_SET_TEST_ENV(datamodel_def_store_roundtrip_root)

Expand Down Expand Up @@ -34,6 +35,7 @@ if (ENABLE_SIO)
${PROJECT_BINARY_DIR}/tests/sio_io/example_frame.sio
datamodel
${PROJECT_SOURCE_DIR}/tests
--datamodel-version=${podio_VERSION}
)
PODIO_SET_TEST_ENV(datamodel_def_store_roundtrip_sio)
# The extension model needs to know about the upstream model for generation
Expand Down Expand Up @@ -64,6 +66,7 @@ if (ENABLE_RNTUPLE)
${PROJECT_BINARY_DIR}/tests/root_io/example_rntuple.root
datamodel
${PROJECT_SOURCE_DIR}/tests
--datamodel-version=${podio_VERSION}
)
PODIO_SET_TEST_ENV(datamodel_def_store_roundtrip_rntuple)

Expand Down

0 comments on commit 18a1129

Please sign in to comment.