mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Create top level copy_test_file_per_product target
- new target depends on all product specific copy_test_files targets Change-Id: I90adb6598790dc4a25d61e6c22f2b2b58e898717 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
fb994297a7
commit
caa212dcf3
@ -19,7 +19,7 @@ components:
|
||||
internal:
|
||||
branch: master
|
||||
dest_dir: internal
|
||||
revision: 22ed7b8461c9edf117ce5efe7e52602f30e5a6c6
|
||||
revision: 0edabc102242ead4ec9d00228c5c9b1ee392c924
|
||||
type: git
|
||||
kmdaf:
|
||||
branch: kmdaf
|
||||
|
@ -39,9 +39,11 @@ endfunction()
|
||||
ADD_SUPPORTED_TEST_PRODUCT_FAMILIES_DEFINITION()
|
||||
link_libraries(${ASAN_LIBS} ${TSAN_LIBS})
|
||||
|
||||
add_custom_target(unit_tests)
|
||||
add_custom_target(prepare_test_kernels)
|
||||
add_custom_target(copy_test_files_per_product)
|
||||
add_custom_target(run_unit_tests ALL)
|
||||
add_custom_target(unit_tests)
|
||||
add_dependencies(unit_tests copy_test_files_per_product)
|
||||
|
||||
set(IGDRCL_SRCS_tests_local
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
|
@ -13,5 +13,5 @@ if(TESTS_EHL)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen11_ehl})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_ehl_0 ehl 0)
|
||||
add_dependencies(unit_tests copy_test_files_ehl_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_ehl_0)
|
||||
endif()
|
||||
|
@ -15,5 +15,5 @@ if(TESTS_ICLLP)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen11_icllp})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_icllp_0 icllp 0)
|
||||
add_dependencies(unit_tests copy_test_files_icllp_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_icllp_0)
|
||||
endif()
|
||||
|
@ -13,5 +13,5 @@ if(TESTS_LKF)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen11_lkf})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_lkf_0 lkf 0)
|
||||
add_dependencies(unit_tests copy_test_files_lkf_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_lkf_0)
|
||||
endif()
|
||||
|
@ -16,5 +16,5 @@ if(TESTS_DG1)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_dg1})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_dg1_0 dg1 0)
|
||||
add_dependencies(unit_tests copy_test_files_dg1_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_dg1_0)
|
||||
endif()
|
||||
|
@ -14,5 +14,5 @@ if(TESTS_RKL)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen12lp_rkl})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_rkl_0 rkl 0)
|
||||
add_dependencies(unit_tests copy_test_files_rkl_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_rkl_0)
|
||||
endif()
|
||||
|
@ -15,5 +15,5 @@ if(TESTS_TGLLP)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen12lp_tgllp})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_tgllp_0 tgllp 0)
|
||||
add_dependencies(unit_tests copy_test_files_tgllp_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_tgllp_0)
|
||||
endif()
|
||||
|
@ -14,5 +14,5 @@ if(TESTS_BDW)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen8_bdw})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_bdw_0 bdw 0)
|
||||
add_dependencies(unit_tests copy_test_files_bdw_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_bdw_0)
|
||||
endif()
|
||||
|
@ -14,5 +14,5 @@ if(TESTS_BXT)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen9_bxt})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_bxt_0 bxt 0)
|
||||
add_dependencies(unit_tests copy_test_files_bxt_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_bxt_0)
|
||||
endif()
|
||||
|
@ -13,5 +13,5 @@ if(TESTS_CFL)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen9_cfl})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_cfl_9 cfl 9)
|
||||
add_dependencies(unit_tests copy_test_files_cfl_9)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_cfl_9)
|
||||
endif()
|
||||
|
@ -13,5 +13,5 @@ if(TESTS_GLK)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen9_glk})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_glk_0 glk 0)
|
||||
add_dependencies(unit_tests copy_test_files_glk_0)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_glk_0)
|
||||
endif()
|
||||
|
@ -13,5 +13,5 @@ if(TESTS_KBL)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen9_kbl})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_kbl_9 kbl 9)
|
||||
add_dependencies(unit_tests copy_test_files_kbl_9)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_kbl_9)
|
||||
endif()
|
||||
|
@ -19,5 +19,5 @@ if(TESTS_SKL)
|
||||
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen9_skl})
|
||||
add_subdirectories()
|
||||
neo_copy_test_files_with_revision(copy_test_files_skl_9 skl 9)
|
||||
add_dependencies(unit_tests copy_test_files_skl_9)
|
||||
add_dependencies(copy_test_files_per_product copy_test_files_skl_9)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user