Remove duplicated test.h header

use full path to include test.h
add missing headers to source list


Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-12-14 17:40:08 +00:00
committed by Compute-Runtime-Automation
parent ad184642a6
commit ee18008750
12 changed files with 26 additions and 28 deletions

View File

@ -6,8 +6,7 @@
*/
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
#include "level_zero/core/source/image/image_hw.h"
#include "level_zero/core/test/unit_tests/mocks/mock_cmdqueue.h"

View File

@ -6,8 +6,7 @@
*/
#include "shared/test/common/helpers/variable_backup.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
#include "level_zero/tools/source/sysman/linux/firmware_util/firmware_util_imp.h"
#include "level_zero/tools/test/unit_tests/sources/sysman/linux/mock_sysman_fixture.h"

View File

@ -9,7 +9,6 @@ set(IGDRCL_SRCS_tests_gen_common
${CMAKE_CURRENT_SOURCE_DIR}/exclude_tests/exclude_test_declare.cpp
${CMAKE_CURRENT_SOURCE_DIR}/exclude_tests/exclude_test_exclude.cpp
${CMAKE_CURRENT_SOURCE_DIR}/gen_commands_common_validation.h
${NEO_SHARED_TEST_DIRECTORY}/common/test_macros/header${BRANCH_DIR_SUFFIX}test.h
)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen_common})

View File

@ -6,10 +6,10 @@
set(NEO_CORE_test_macros
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/header${BRANCH_DIR_SUFFIX}test.h
${CMAKE_CURRENT_SOURCE_DIR}/test.h
${CMAKE_CURRENT_SOURCE_DIR}/matchers.h
${CMAKE_CURRENT_SOURCE_DIR}/test_checks_shared.cpp
${CMAKE_CURRENT_SOURCE_DIR}/test_checks_shared.h
)
add_subdirectories()
set_property(GLOBAL PROPERTY NEO_CORE_test_macros ${NEO_CORE_test_macros})

View File

@ -0,0 +1,16 @@
#
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
add_subdirectories()
set(NEO_CORE_test_macros
${NEO_CORE_test_macros}
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/common_matchers.h
${CMAKE_CURRENT_SOURCE_DIR}/per_product_test_definitions.h
${CMAKE_CURRENT_SOURCE_DIR}/per_product_test_selector.h
${CMAKE_CURRENT_SOURCE_DIR}/per_product_test_selector_definitions.h
PARENT_SCOPE
)

View File

@ -1,9 +0,0 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/test/common/test_macros/test.h"

View File

@ -6,8 +6,7 @@
*/
#include "shared/source/gen11/hw_cmds_base.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;

View File

@ -6,8 +6,7 @@
*/
#include "shared/source/gen12lp/hw_cmds_base.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;

View File

@ -6,8 +6,7 @@
*/
#include "shared/source/gen9/hw_cmds_base.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;

View File

@ -6,8 +6,7 @@
*/
#include "shared/source/xe_hp_core/hw_cmds_base.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;

View File

@ -6,8 +6,7 @@
*/
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;

View File

@ -6,8 +6,7 @@
*/
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;