mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Allow overriding hw config on aub/tbx mode
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
cf7e7fbc4e
commit
98500ee653
@ -317,15 +317,6 @@ TEST_F(DeviceFactoryTest, givenInvalidHwConfigStringWhenPreparingDeviceEnvironme
|
||||
EXPECT_FALSE(success);
|
||||
}
|
||||
|
||||
HWTEST_F(DeviceFactoryTest, givenInvalidHwConfigStringWhenPrepareDeviceEnvironmentsForProductFamilyOverrideThenThrowsException) {
|
||||
DebugManagerStateRestore stateRestore;
|
||||
DebugManager.flags.HardwareInfoOverride.set("1x1x1");
|
||||
|
||||
MockExecutionEnvironment executionEnvironment(defaultHwInfo.get());
|
||||
|
||||
EXPECT_ANY_THROW(DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(executionEnvironment));
|
||||
}
|
||||
|
||||
TEST_F(DeviceFactoryTest, givenPrepareDeviceEnvironmentsCallWhenItIsDoneThenOsInterfaceIsAllocated) {
|
||||
bool success = DeviceFactory::prepareDeviceEnvironments(*executionEnvironment);
|
||||
EXPECT_TRUE(success);
|
||||
|
Reference in New Issue
Block a user