Skip to content

Commit

Permalink
Fix legacy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Nov 5, 2023
1 parent 01e1d05 commit 1dadc9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/root_io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ target_link_libraries(read-legacy-files-root PRIVATE TestDataModel TestDataModel
macro(ADD_PODIO_LEGACY_TEST version base_test input_file)
ExternalData_Add_Test(legacy_test_cases
NAME ${base_test}_${version}
COMMAND ${base_test} ${CMAKE_CURRENT_BINARY_DIR}/../input_files/${input_file}
DATA{${PROJECT_SOURCE_DIR}/tests/input_files/${input_file}}
COMMAND ${base_test} DATA{${PROJECT_SOURCE_DIR}/tests/input_files/${input_file}}
)
set_property(TEST ${base_test}_${version} PROPERTY ENVIRONMENT
LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/tests:${PROJECT_BINARY_DIR}/src:$ENV{LD_LIBRARY_PATH}
Expand Down

0 comments on commit 1dadc9a

Please sign in to comment.