Enable gen specific test excludes

Resolves: NEO-6007


Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2021-06-25 13:55:08 +00:00
committed by Compute-Runtime-Automation
parent 62f89b174a
commit 038da95cf4
15 changed files with 75 additions and 104 deletions

View File

@ -1,16 +1,21 @@
#
# Copyright (C) 2019-2020 Intel Corporation
# Copyright (C) 2019-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(TESTS_TGLLP)
set(IGDRCL_SRCS_tests_gen12lp_tgllp_excludes
${CMAKE_CURRENT_SOURCE_DIR}/excludes_tgllp.cpp
)
set_property(GLOBAL APPEND PROPERTY IGDRCL_SRCS_tests_excludes ${IGDRCL_SRCS_tests_gen12lp_tgllp_excludes})
set(IGDRCL_SRCS_tests_gen12lp_tgllp
${IGDRCL_SRCS_tests_gen12lp_tgllp_excludes}
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/kernel_tests_tgllp.cpp
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_helper_tgllp.cpp
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_info_config_tgllp.cpp
${CMAKE_CURRENT_SOURCE_DIR}/excludes_tgllp.cpp
)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen12lp_tgllp})
add_subdirectories()