test: Expand tests to more products
Add test for PTL Update xe2_hpg test Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
This commit is contained in:
parent
60c5a38f6d
commit
a9da0c4ed5
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2024 Intel Corporation
|
||||
* Copyright (C) 2021-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -141,7 +141,7 @@ TEST_F(DebugApiTest, givenSubDeviceWhenCallingDebugAttachThenErrorIsReturned) {
|
|||
EXPECT_EQ(nullptr, debugSession);
|
||||
}
|
||||
|
||||
using isDebugSupportedProduct = IsWithinProducts<IGFX_DG1, IGFX_METEORLAKE>;
|
||||
using isDebugSupportedProduct = IsWithinProducts<IGFX_DG1, IGFX_PTL>;
|
||||
HWTEST2_F(DebugApiTest, givenDeviceWhenDebugAttachIsAvaialbleThenGetPropertiesReturnsCorrectFlag, isDebugSupportedProduct) {
|
||||
zet_device_debug_properties_t debugProperties = {};
|
||||
debugProperties.flags = ZET_DEVICE_DEBUG_PROPERTY_FLAG_FORCE_UINT32;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2024 Intel Corporation
|
||||
* Copyright (C) 2024-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -77,8 +77,7 @@ HWTEST2_F(Xe2HpgCoreDebugSessionTest,
|
|||
}
|
||||
|
||||
using DebugApiTest = Test<DebugApiFixture>;
|
||||
using isDebugSupportedProduct = IsAtLeastProduct<IGFX_BMG>;
|
||||
HWTEST2_F(DebugApiTest, givenDeviceWhenDebugAttachIsAvaialbleThenGetPropertiesReturnsCorrectFlag2, isDebugSupportedProduct) {
|
||||
HWTEST2_F(DebugApiTest, givenDeviceWhenDebugAttachIsAvaialbleThenGetPropertiesReturnsCorrectFlag2, IsXe2HpgCore) {
|
||||
zet_device_debug_properties_t debugProperties = {};
|
||||
debugProperties.flags = ZET_DEVICE_DEBUG_PROPERTY_FLAG_FORCE_UINT32;
|
||||
|
||||
|
|
Loading…
Reference in New Issue