mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove usage of TestLegacy from shared tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
cb23a38aad
commit
bfc0919999
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -47,7 +47,7 @@ class MockKernelWithApplicableWa : public MockKernel {
|
||||
struct HardwareInterfaceTests : public ClDeviceFixture, public LinearStreamFixture, public ::testing::Test {
|
||||
void SetUp() override {
|
||||
ClDeviceFixture::SetUp();
|
||||
LinearStreamFixture::SetUp();
|
||||
LinearStreamFixture::setUp();
|
||||
|
||||
pContext = new NEO::MockContext(pClDevice);
|
||||
pCommandQueue = new MockCommandQueue(pContext, pClDevice, nullptr, false);
|
||||
@ -63,7 +63,7 @@ struct HardwareInterfaceTests : public ClDeviceFixture, public LinearStreamFixtu
|
||||
pCommandQueue->release();
|
||||
pContext->release();
|
||||
|
||||
LinearStreamFixture::TearDown();
|
||||
LinearStreamFixture::tearDown();
|
||||
ClDeviceFixture::TearDown();
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ GEN12LPTEST_F(HardwareInterfaceTests, GivenKernelWithApplicableWaDisableRccRhwoO
|
||||
size_t expectedUsedForDisableWa = 2 * (sizeof(PIPE_CONTROL) + sizeof(MI_LOAD_REGISTER_IMM));
|
||||
ASSERT_EQ(expectedUsedForDisableWa, linearStream.getUsed());
|
||||
|
||||
hwParse.TearDown();
|
||||
hwParse.tearDown();
|
||||
hwParse.parseCommands<FamilyType>(linearStream, expectedUsedForEnableWa);
|
||||
itorPipeCtrl = find<PIPE_CONTROL *>(hwParse.cmdList.begin(), hwParse.cmdList.end());
|
||||
ASSERT_NE(hwParse.cmdList.end(), itorPipeCtrl);
|
||||
@ -149,4 +149,4 @@ GEN12LPTEST_F(HardwareInterfaceTests, GivenKernelWithoutApplicableWaDisableRccRh
|
||||
EXPECT_EQ(0u, cmdSize);
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
} // namespace NEO
|
||||
|
Reference in New Issue
Block a user