Skip to content

Commit

Permalink
Add tests for running the schema evolution script standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jun 12, 2024
1 parent b16c2de commit 3192fcf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/schema_evolution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,20 @@ function(PODIO_CREATE_READ_NEW_DATA_TEST sourcefile additional_libs)
)
endfunction()

add_test(
NAME schema-evolution-script
COMMAND ${PROJECT_SOURCE_DIR}/python/podio_schema_evolution.py
${CMAKE_CURRENT_SOURCE_DIR}/datalayout_new.yaml
${PROJECT_SOURCE_DIR}/tests/datalayout.yaml
)

add_test(
NAME schema-evolution-script-with-evol
COMMAND
${PROJECT_SOURCE_DIR}/python/podio_schema_evolution.py
--evo ${CMAKE_CURRENT_SOURCE_DIR}/schema_evolution.yaml
${CMAKE_CURRENT_SOURCE_DIR}/datalayout_new.yaml
${PROJECT_SOURCE_DIR}/tests/datalayout.yaml
)

add_subdirectory(root_io)

0 comments on commit 3192fcf

Please sign in to comment.