CMake: don't include shared/test/unit_test when shared tests are skipped

opencl/test/unit_test/gen9/hw_helper_tests_gen9.cpp -> unit_test/gen9
opencl/test/unit_test/gen11/hw_helper_tests_gen11.cpp -> unit_test/gen11
unit_test/device_binary_format/elf/elf_tests_data.h -> common/device_binary/elf

Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
This commit is contained in:
Warchulski, Jaroslaw
2022-08-17 14:51:01 +00:00
committed by Compute-Runtime-Automation
parent e934a449db
commit cf7e7fbc4e
24 changed files with 138 additions and 233 deletions

View File

@@ -1,20 +0,0 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
namespace NEO {
struct Gen11Family;
using GfxFamily = Gen11Family;
} // namespace NEO
namespace L0 {
namespace ult {
static MockDebuggerL0HwPopulateFactory<IGFX_GEN11_CORE, NEO::GfxFamily> mockDebuggerGen11;
}
} // namespace L0

View File

@@ -1,21 +0,0 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
namespace NEO {
struct Gen12LpFamily;
using GfxFamily = Gen12LpFamily;
} // namespace NEO
namespace L0 {
namespace ult {
static MockDebuggerL0HwPopulateFactory<IGFX_GEN12LP_CORE, NEO::GfxFamily> mockDebuggerGen12lp;
}
} // namespace L0

View File

@@ -1,19 +0,0 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
namespace NEO {
struct Gen9Family;
using GfxFamily = Gen9Family;
} // namespace NEO
namespace L0 {
namespace ult {
static MockDebuggerL0HwPopulateFactory<IGFX_GEN9_CORE, NEO::GfxFamily> mockDebuggerGen9;
}
} // namespace L0

View File

@@ -1,19 +0,0 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
namespace NEO {
struct XeHpFamily;
using GfxFamily = XeHpFamily;
} // namespace NEO
namespace L0 {
namespace ult {
static MockDebuggerL0HwPopulateFactory<IGFX_XE_HP_CORE, NEO::GfxFamily> mockDebuggerXE_HP_CORE;
}
} // namespace L0

View File

@@ -1,19 +0,0 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
namespace NEO {
struct XeHpcCoreFamily;
using GfxFamily = XeHpcCoreFamily;
} // namespace NEO
namespace L0 {
namespace ult {
static MockDebuggerL0HwPopulateFactory<IGFX_XE_HPC_CORE, NEO::GfxFamily> mockDebuggerXeHpcCore;
}
} // namespace L0

View File

@@ -1,19 +0,0 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
namespace NEO {
struct XeHpgCoreFamily;
using GfxFamily = XeHpgCoreFamily;
} // namespace NEO
namespace L0 {
namespace ult {
static MockDebuggerL0HwPopulateFactory<IGFX_XE_HPG_CORE, NEO::GfxFamily> mockDebuggerXeHpgCore;
}
} // namespace L0