Skip to content

Commit

Permalink
Use usual test environment for legacy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 13, 2023
1 parent 8d7f26e commit 4004079
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ macro(ADD_PODIO_LEGACY_TEST version base_test input_file)
NAME ${base_test}_${version}
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}
# Clear the ROOT_INCLUDE_PATH for the tests, to avoid potential conflicts
# with existing headers from other installations
ROOT_INCLUDE_PATH=
)
PODIO_SET_TEST_ENV(${base_test}_${version})
endmacro()

set(root_legacy_test_versions
Expand Down

0 comments on commit 4004079

Please sign in to comment.