Use full path to include test.h 2/n

fix files in shared

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 0aeca8df22
commit 527806b3ed
157 changed files with 164 additions and 316 deletions

View File

@@ -17,8 +17,7 @@
#include "shared/test/common/libult/global_environment.h"
#include "shared/test/common/mocks/mock_device.h"
#include "shared/test/common/mocks/mock_io_functions.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
#include "os_inc.h"

View File

@@ -17,8 +17,7 @@
#include "shared/test/common/mocks/mock_cif.h"
#include "shared/test/common/mocks/mock_compiler_interface.h"
#include "shared/test/common/mocks/mock_compilers.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
#include "gmock/gmock.h"
#include "hw_cmds.h"

View File

@@ -5,7 +5,7 @@
*
*/
#include "test.h"
#include "shared/test/common/test_macros/test.h"
#include "compiler_options.h"

View File

@@ -1,13 +1,12 @@
/*
* Copyright (C) 2020 Intel Corporation
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/compiler_interface/intermediate_representations.h"
#include "test.h"
#include "shared/test/common/test_macros/test.h"
TEST(HasSameMagic, WhenMagicIsMatchedThenReturnTrue) {
EXPECT_TRUE(NEO::hasSameMagic("abcd", ArrayRef<const char>("abcdefg").toArrayRef<const uint8_t>()));