From 9a531437603b28d55dce5420863c3dc4d0397033 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Tue, 12 Dec 2023 20:54:46 +0100 Subject: [PATCH] Use usual test environment for legacy tests --- tests/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 38a44f9ed..f5a17ea33 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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