Do not override LD_LIBRARY_PATH when running tests

Related-To: NEO-5632
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
Pawel Cieslak
2021-05-07 00:07:45 +00:00
committed by Compute-Runtime-Automation
parent a304e609fe
commit 5eae946fe3
5 changed files with 21 additions and 9 deletions

View File

@@ -134,7 +134,7 @@ if(MSVC)
)
set(RUN_ULT_CMD $<TARGET_FILE:${TARGET_NAME}>)
else()
set(RUN_ULT_CMD LD_LIBRARY_PATH=$<TARGET_FILE_DIR:${TARGET_NAME}> $<TARGET_FILE:${TARGET_NAME}>)
set(RUN_ULT_CMD $<TARGET_FILE:${TARGET_NAME}>)
endif()
add_dependencies(unit_tests ${TARGET_NAME})