Move test kernels dependencies from run_<platform>_unit_tests to unit_tests
Change-Id: I9aca79abd6c8ff8da1acf1da1e74d5e7ec310c31
This commit is contained in:
parent
224676bc2d
commit
2298b5db25
|
@ -361,27 +361,25 @@ macro(macro_for_each_test_config)
|
|||
if(MSVC AND ${TESTED_WITH_APPVERIFIER})
|
||||
gen_run_tests_with_appverifier(${PLATFORM_IT_LOWER} ${SLICES} ${SUBSLICES} ${EU_PER_SS})
|
||||
endif()
|
||||
if(MSVC OR CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
foreach(PLATFORM_TYPE "CORE" "LP")
|
||||
if(${PLATFORM_IT}_IS_${PLATFORM_TYPE})
|
||||
get_family_name_with_type(${GEN_TYPE} ${PLATFORM_TYPE})
|
||||
add_dependencies(run_${PLATFORM_IT_LOWER}_unit_tests test_kernels_${family_name_with_type})
|
||||
add_dependencies(run_${PLATFORM_IT_LOWER}_unit_tests test_kernel_${family_name_with_type})
|
||||
if(NOT ("${GEN_TYPE_LOWER}" STREQUAL "gen8"))
|
||||
add_dependencies(run_${PLATFORM_IT_LOWER}_unit_tests test_kernel_debug_enable_${family_name_with_type})
|
||||
endif()
|
||||
PLATFORM_HAS_2_0(${GEN_TYPE} ${PLATFORM_IT} PLATFORM_SUPPORTS_2_0)
|
||||
if(PLATFORM_SUPPORTS_2_0)
|
||||
add_dependencies(run_${PLATFORM_IT_LOWER}_unit_tests test_kernel_2_0_${family_name_with_type})
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
macro(macro_for_each_platform)
|
||||
PLATFORM_TESTED_WITH_APPVERIFIER(${GEN_TYPE} ${PLATFORM_IT} TESTED_WITH_APPVERIFIER)
|
||||
apply_macro_for_each_test_config("UNIT_TESTS")
|
||||
foreach(PLATFORM_TYPE "CORE" "LP")
|
||||
if(${PLATFORM_IT}_IS_${PLATFORM_TYPE})
|
||||
get_family_name_with_type(${GEN_TYPE} ${PLATFORM_TYPE})
|
||||
add_dependencies(unit_tests test_kernels_${family_name_with_type})
|
||||
add_dependencies(unit_tests test_kernel_${family_name_with_type})
|
||||
if(NOT ("${GEN_TYPE_LOWER}" STREQUAL "gen8"))
|
||||
add_dependencies(unit_tests test_kernel_debug_enable_${family_name_with_type})
|
||||
endif()
|
||||
PLATFORM_HAS_2_0(${GEN_TYPE} ${PLATFORM_IT} PLATFORM_SUPPORTS_2_0)
|
||||
if(PLATFORM_SUPPORTS_2_0)
|
||||
add_dependencies(unit_tests test_kernel_2_0_${family_name_with_type})
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
macro(macro_for_each_gen)
|
||||
|
|
Loading…
Reference in New Issue