Add absolute path to unit_tests

Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
This commit is contained in:
kamdiedrich
2020-02-23 15:20:22 +01:00
committed by Mateusz Jablonski
parent e8852a68c4
commit 87c5d2663b
830 changed files with 2740 additions and 3072 deletions

View File

@ -5,12 +5,11 @@
*
*/
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "opencl/test/unit_test/mocks/mock_device.h"
#include "opencl/test/unit_test/mocks/mock_source_level_debugger.h"
#include "test.h"
#include "fixtures/device_fixture.h"
#include "mocks/mock_device.h"
#include "mocks/mock_source_level_debugger.h"
using namespace NEO;
struct BdwDeviceTest : public DeviceFixture,
public ::testing::Test {

View File

@ -5,8 +5,8 @@
*
*/
#include "helpers/gtest_helpers.h"
#include "os_interface/linux/hw_info_config_linux_tests.h"
#include "opencl/test/unit_test/helpers/gtest_helpers.h"
#include "opencl/test/unit_test/os_interface/linux/hw_info_config_linux_tests.h"
using namespace NEO;
using namespace std;

View File

@ -6,10 +6,9 @@
*/
#include "core/helpers/hw_helper.h"
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "test.h"
#include "fixtures/device_fixture.h"
using namespace NEO;
typedef Test<DeviceFixture> BdwDeviceCaps;

View File

@ -6,8 +6,7 @@
*/
#include "core/os_interface/windows/os_interface.h"
#include "os_interface/windows/hw_info_config_win_tests.h"
#include "opencl/test/unit_test/os_interface/windows/hw_info_config_win_tests.h"
using namespace NEO;
using namespace std;

View File

@ -6,10 +6,9 @@
*/
#include "core/helpers/hw_helper.h"
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "test.h"
#include "fixtures/device_fixture.h"
using namespace NEO;
typedef Test<DeviceFixture> BdwDeviceCaps;

View File

@ -8,10 +8,9 @@
#include "core/command_stream/command_stream_receiver_hw.h"
#include "core/execution_environment/execution_environment.h"
#include "opencl/source/platform/platform.h"
#include "opencl/test/unit_test/helpers/dispatch_flags_helper.h"
#include "test.h"
#include "helpers/dispatch_flags_helper.h"
using namespace NEO;
typedef ::testing::Test Gen8CoherencyRequirements;

View File

@ -8,22 +8,22 @@
#include "core/command_stream/command_stream_receiver.h"
#include "core/command_stream/linear_stream.h"
#include "opencl/source/command_queue/command_queue_hw.h"
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "opencl/test/unit_test/helpers/dispatch_flags_helper.h"
#include "opencl/test/unit_test/helpers/hw_parse.h"
#include "opencl/test/unit_test/mocks/mock_command_queue.h"
#include "opencl/test/unit_test/mocks/mock_context.h"
#include "opencl/test/unit_test/mocks/mock_csr.h"
#include "opencl/test/unit_test/mocks/mock_event.h"
#include "opencl/test/unit_test/mocks/mock_kernel.h"
#include "test.h"
#include "fixtures/device_fixture.h"
#include "gtest/gtest.h"
#include "helpers/dispatch_flags_helper.h"
#include "helpers/hw_parse.h"
#include "mocks/mock_command_queue.h"
#include "mocks/mock_context.h"
#include "mocks/mock_csr.h"
#include "mocks/mock_event.h"
#include "mocks/mock_kernel.h"
#include "reg_configs_common.h"
using namespace NEO;
#include "command_stream/command_stream_receiver_hw_tests.inl"
#include "opencl/test/unit_test/command_stream/command_stream_receiver_hw_tests.inl"
using CommandStreamReceiverHwTestGen8 = CommandStreamReceiverHwTest<BDWFamily>;

View File

@ -5,10 +5,9 @@
*
*/
#include "opencl/test/unit_test/fixtures/media_kernel_fixture.h"
#include "test.h"
#include "fixtures/media_kernel_fixture.h"
using namespace NEO;
typedef MediaKernelFixture<HelloWorldFixtureFactory> MediaKernelTest;

View File

@ -6,9 +6,8 @@
*/
#include "core/memory_manager/memory_constants.h"
#include "helpers/get_gpgpu_engines_tests.inl"
#include "helpers/hw_helper_tests.h"
#include "opencl/test/unit_test/helpers/get_gpgpu_engines_tests.inl"
#include "opencl/test/unit_test/helpers/hw_helper_tests.h"
using HwHelperTestGen8 = HwHelperTest;

View File

@ -5,11 +5,10 @@
*
*/
#include "opencl/test/unit_test/fixtures/image_fixture.h"
#include "opencl/test/unit_test/mocks/mock_context.h"
#include "test.h"
#include "fixtures/image_fixture.h"
#include "mocks/mock_context.h"
using namespace NEO;
typedef ::testing::Test gen8ImageTests;

View File

@ -6,11 +6,10 @@
*/
#include "opencl/source/helpers/hardware_commands_helper.h"
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "opencl/test/unit_test/mocks/mock_kernel.h"
#include "test.h"
#include "fixtures/device_fixture.h"
#include "mocks/mock_kernel.h"
using namespace NEO;
using Gen8KernelTest = Test<DeviceFixture>;

View File

@ -6,11 +6,10 @@
*/
#include "opencl/source/sampler/sampler.h"
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "opencl/test/unit_test/mocks/mock_context.h"
#include "test.h"
#include "fixtures/device_fixture.h"
#include "mocks/mock_context.h"
#include <memory>
using namespace NEO;

View File

@ -12,11 +12,11 @@
#include "opencl/source/device_queue/device_queue_hw.h"
#include "opencl/source/helpers/hardware_commands_helper.h"
#include "opencl/source/scheduler/scheduler_kernel.h"
#include "opencl/test/unit_test/fixtures/execution_model_fixture.h"
#include "opencl/test/unit_test/helpers/hw_parse.h"
#include "test.h"
#include "fixtures/execution_model_fixture.h"
#include "gtest/gtest.h"
#include "helpers/hw_parse.h"
using namespace NEO;

View File

@ -11,10 +11,9 @@
// Keep the order of device_enqueue.h and scheduler_definitions.h as the latter uses defines from the first one
#include "opencl/source/gen8/device_enqueue.h"
#include "opencl/source/gen8/scheduler_definitions.h"
#include "scheduler/scheduler_source_tests.h"
#include "opencl/test/unit_test/scheduler/scheduler_source_tests.h"
// Keep this include below scheduler_definitions.h and device_enqueue.h headers as it depends on defines defined in them
#include "scheduler/scheduler_source_tests.inl"
#include "opencl/test/unit_test/scheduler/scheduler_source_tests.inl"
using namespace NEO;

View File

@ -6,10 +6,9 @@
*/
#include "core/helpers/hw_helper.h"
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "test.h"
#include "fixtures/device_fixture.h"
using namespace NEO;
typedef Test<DeviceFixture> Gen8DeviceCaps;

View File

@ -6,10 +6,9 @@
*/
#include "opencl/source/context/context.h"
#include "fixtures/device_host_queue_fixture.h"
#include "helpers/hw_parse.h"
#include "mocks/mock_device_queue.h"
#include "opencl/test/unit_test/fixtures/device_host_queue_fixture.h"
#include "opencl/test/unit_test/helpers/hw_parse.h"
#include "opencl/test/unit_test/mocks/mock_device_queue.h"
using namespace NEO;
using namespace DeviceHostQueue;

View File

@ -5,10 +5,9 @@
*
*/
#include "opencl/test/unit_test/fixtures/platform_fixture.h"
#include "test.h"
#include "fixtures/platform_fixture.h"
using namespace NEO;
struct Gen8PlatformCaps : public PlatformFixture, public ::testing::Test {

View File

@ -5,10 +5,9 @@
*
*/
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "test.h"
#include "fixtures/device_fixture.h"
using namespace NEO;
typedef Test<DeviceFixture> BroadwellOnlyTest;

View File

@ -6,9 +6,8 @@
*/
#include "core/gen8/hw_info.h"
#include "helpers/unit_test_helper.h"
#include "helpers/unit_test_helper.inl"
#include "opencl/test/unit_test/helpers/unit_test_helper.h"
#include "opencl/test/unit_test/helpers/unit_test_helper.inl"
namespace NEO {