From 2b55ca76b88dc61d0623cae995ca81b693572fdc Mon Sep 17 00:00:00 2001 From: Katarzyna Cencelewska Date: Mon, 2 May 2022 22:00:13 +0000 Subject: [PATCH] Move device_binary_format_ar_tests files for dg2 and pvc to proper folders Signed-off-by: Katarzyna Cencelewska --- .../unit_test/device_binary_format/CMakeLists.txt | 12 ------------ shared/test/unit_test/xe_hpc_core/pvc/CMakeLists.txt | 1 + .../pvc}/device_binary_format_ar_tests_pvc.cpp | 0 shared/test/unit_test/xe_hpg_core/dg2/CMakeLists.txt | 1 + .../dg2}/device_binary_format_ar_tests_dg2.cpp | 0 5 files changed, 2 insertions(+), 12 deletions(-) rename shared/test/unit_test/{device_binary_format => xe_hpc_core/pvc}/device_binary_format_ar_tests_pvc.cpp (100%) rename shared/test/unit_test/{device_binary_format => xe_hpg_core/dg2}/device_binary_format_ar_tests_dg2.cpp (100%) diff --git a/shared/test/unit_test/device_binary_format/CMakeLists.txt b/shared/test/unit_test/device_binary_format/CMakeLists.txt index 3d5298b028..c4e491ae74 100644 --- a/shared/test/unit_test/device_binary_format/CMakeLists.txt +++ b/shared/test/unit_test/device_binary_format/CMakeLists.txt @@ -25,15 +25,3 @@ target_sources(${TARGET_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/zebin_tests.h ) -if(TESTS_PVC) - target_sources(${TARGET_NAME} PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR}/device_binary_format_ar_tests_pvc.cpp - ) -endif() - -if(TESTS_DG2) - target_sources(${TARGET_NAME} PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR}/device_binary_format_ar_tests_dg2.cpp - ) -endif() - diff --git a/shared/test/unit_test/xe_hpc_core/pvc/CMakeLists.txt b/shared/test/unit_test/xe_hpc_core/pvc/CMakeLists.txt index ec540ba3e6..0b726cf891 100644 --- a/shared/test/unit_test/xe_hpc_core/pvc/CMakeLists.txt +++ b/shared/test/unit_test/xe_hpc_core/pvc/CMakeLists.txt @@ -14,6 +14,7 @@ if(TESTS_PVC) ${CMAKE_CURRENT_SOURCE_DIR}/test_hw_info_config_pvc.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_preamble_pvc.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_sample_pvc.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/device_binary_format_ar_tests_pvc.cpp ) target_sources(${TARGET_NAME} PRIVATE ${NEO_SHARED_TESTS_PVC}) diff --git a/shared/test/unit_test/device_binary_format/device_binary_format_ar_tests_pvc.cpp b/shared/test/unit_test/xe_hpc_core/pvc/device_binary_format_ar_tests_pvc.cpp similarity index 100% rename from shared/test/unit_test/device_binary_format/device_binary_format_ar_tests_pvc.cpp rename to shared/test/unit_test/xe_hpc_core/pvc/device_binary_format_ar_tests_pvc.cpp diff --git a/shared/test/unit_test/xe_hpg_core/dg2/CMakeLists.txt b/shared/test/unit_test/xe_hpg_core/dg2/CMakeLists.txt index dc256a6d28..771872f2f3 100644 --- a/shared/test/unit_test/xe_hpg_core/dg2/CMakeLists.txt +++ b/shared/test/unit_test/xe_hpg_core/dg2/CMakeLists.txt @@ -10,6 +10,7 @@ if(TESTS_DG2) ${CMAKE_CURRENT_SOURCE_DIR}/compute_mode_tests_dg2.cpp ${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_tests_dg2.cpp ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}product_config_tests_dg2.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/device_binary_format_ar_tests_dg2.cpp ) add_subdirectories() endif() diff --git a/shared/test/unit_test/device_binary_format/device_binary_format_ar_tests_dg2.cpp b/shared/test/unit_test/xe_hpg_core/dg2/device_binary_format_ar_tests_dg2.cpp similarity index 100% rename from shared/test/unit_test/device_binary_format/device_binary_format_ar_tests_dg2.cpp rename to shared/test/unit_test/xe_hpg_core/dg2/device_binary_format_ar_tests_dg2.cpp