Skip to content

Commit d8a7a60

Browse files
Move some l0, opencl tests to shared
Related-To: NEO-5807 Signed-off-by: Dominik Dabek <[email protected]>
1 parent a6c6290 commit d8a7a60

File tree

6 files changed

+31
-4
lines changed

6 files changed

+31
-4
lines changed

opencl/test/unit_test/gen12lp/adls/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#
2-
# Copyright (C) 2020 Intel Corporation
2+
# Copyright (C) 2020-2021 Intel Corporation
33
#
44
# SPDX-License-Identifier: MIT
55
#
66

77
if(TESTS_ADLS)
88
set(IGDRCL_SRCS_tests_gen12lp_adls
99
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
10-
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_info_config_adls.cpp
1110
${CMAKE_CURRENT_SOURCE_DIR}/test_device_caps_adls.cpp
1211
${CMAKE_CURRENT_SOURCE_DIR}/excludes_adls.cpp
1312
)

opencl/test/unit_test/gen12lp/rkl/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2018-2020 Intel Corporation
2+
# Copyright (C) 2018-2021 Intel Corporation
33
#
44
# SPDX-License-Identifier: MIT
55
#
@@ -8,7 +8,6 @@ if(TESTS_RKL)
88
set(IGDRCL_SRCS_tests_gen12lp_rkl
99
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
1010
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_helper_rkl.cpp
11-
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_info_config_rkl.cpp
1211
${CMAKE_CURRENT_SOURCE_DIR}/excludes_rkl.cpp
1312
)
1413
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen12lp_rkl})
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# Copyright (C) 2021 Intel Corporation
3+
#
4+
# SPDX-License-Identifier: MIT
5+
#
6+
7+
if(TESTS_ADLS)
8+
set(NEO_CORE_TESTS_GEN12LP_ADLS
9+
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
10+
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_info_config_adls.cpp
11+
)
12+
13+
target_sources(${TARGET_NAME} PRIVATE ${NEO_CORE_TESTS_GEN12LP_ADLS})
14+
add_subdirectories()
15+
endif()

opencl/test/unit_test/gen12lp/adls/test_hw_info_config_adls.cpp renamed to shared/test/common/gen12lp/adls/test_hw_info_config_adls.cpp

File renamed without changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Copyright (C) 2021 Intel Corporation
3+
#
4+
# SPDX-License-Identifier: MIT
5+
#
6+
7+
if(TESTS_RKL)
8+
set(IGDRCL_SRCS_tests_gen12lp_rkl
9+
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
10+
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_info_config_rkl.cpp
11+
)
12+
target_sources(neo_shared_tests PRIVATE ${IGDRCL_SRCS_tests_gen12lp_rkl})
13+
add_subdirectories()
14+
endif()

opencl/test/unit_test/gen12lp/rkl/test_hw_info_config_rkl.cpp renamed to shared/test/common/gen12lp/rkl/test_hw_info_config_rkl.cpp

File renamed without changes.

0 commit comments

Comments
 (0)