Skip to content

Commit a9da0c4

Browse files
test: Expand tests to more products
Add test for PTL Update xe2_hpg test Signed-off-by: Marcel Skierkowski <[email protected]>
1 parent 60c5a38 commit a9da0c4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

level_zero/tools/test/unit_tests/sources/debug/test_debug_api.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2021-2024 Intel Corporation
2+
* Copyright (C) 2021-2025 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -141,7 +141,7 @@ TEST_F(DebugApiTest, givenSubDeviceWhenCallingDebugAttachThenErrorIsReturned) {
141141
EXPECT_EQ(nullptr, debugSession);
142142
}
143143

144-
using isDebugSupportedProduct = IsWithinProducts<IGFX_DG1, IGFX_METEORLAKE>;
144+
using isDebugSupportedProduct = IsWithinProducts<IGFX_DG1, IGFX_PTL>;
145145
HWTEST2_F(DebugApiTest, givenDeviceWhenDebugAttachIsAvaialbleThenGetPropertiesReturnsCorrectFlag, isDebugSupportedProduct) {
146146
zet_device_debug_properties_t debugProperties = {};
147147
debugProperties.flags = ZET_DEVICE_DEBUG_PROPERTY_FLAG_FORCE_UINT32;

level_zero/tools/test/unit_tests/sources/debug/xe2_hpg_core/debug_session_tests_xe2_hpg_core.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2024 Intel Corporation
2+
* Copyright (C) 2024-2025 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -77,8 +77,7 @@ HWTEST2_F(Xe2HpgCoreDebugSessionTest,
7777
}
7878

7979
using DebugApiTest = Test<DebugApiFixture>;
80-
using isDebugSupportedProduct = IsAtLeastProduct<IGFX_BMG>;
81-
HWTEST2_F(DebugApiTest, givenDeviceWhenDebugAttachIsAvaialbleThenGetPropertiesReturnsCorrectFlag2, isDebugSupportedProduct) {
80+
HWTEST2_F(DebugApiTest, givenDeviceWhenDebugAttachIsAvaialbleThenGetPropertiesReturnsCorrectFlag2, IsXe2HpgCore) {
8281
zet_device_debug_properties_t debugProperties = {};
8382
debugProperties.flags = ZET_DEVICE_DEBUG_PROPERTY_FLAG_FORCE_UINT32;
8483

0 commit comments

Comments
 (0)