enable test kernels from prebuilt binaries

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2021-09-30 21:15:45 +00:00
committed by Compute-Runtime-Automation
parent b99adecece
commit c225923240
5 changed files with 220 additions and 140 deletions

View File

@@ -55,7 +55,7 @@ if(NOT SKIP_NEO_UNIT_TESTS)
if(WIN32 OR NOT DEFINED NEO__GMM_LIBRARY_PATH)
set(aub_test_cmd_prefix $<TARGET_FILE:igdrcl_aub_tests>)
else()
set(aub_test_cmd_prefix LD_LIBRARY_PATH=${NEO__GMM_LIBRARY_PATH} IGDRCL_TEST_SELF_EXEC=off $<TARGET_FILE:igdrcl_aub_tests>)
set(aub_test_cmd_prefix LD_LIBRARY_PATH=${NEO__GMM_LIBRARY_PATH} IGDRCL_TEST_SELF_EXEC=off ${NEO_RUN_INTERCEPTOR_LIST} $<TARGET_FILE:igdrcl_aub_tests>)
endif()
add_custom_command(
@@ -73,7 +73,7 @@ if(NOT SKIP_L0_UNIT_TESTS AND BUILD_WITH_L0)
if(WIN32 OR NOT DEFINED NEO__GMM_LIBRARY_PATH)
set(l0_aub_test_cmd_prefix $<TARGET_FILE:ze_intel_gpu_aub_tests>)
else()
set(l0_aub_test_cmd_prefix LD_LIBRARY_PATH=${NEO__GMM_LIBRARY_PATH} $<TARGET_FILE:ze_intel_gpu_aub_tests>)
set(l0_aub_test_cmd_prefix LD_LIBRARY_PATH=${NEO__GMM_LIBRARY_PATH} ${NEO_RUN_INTERCEPTOR_LIST} $<TARGET_FILE:ze_intel_gpu_aub_tests>)
endif()
add_custom_command(