Skip to content

Commit e26691c

Browse files
committed
Primary JIRA: VLCLJ-2513
Sub-tasks: VLCLJ-2570, VLCLJ-2568, VLCLJ-2577 Fix: Handling GTEST_FAIL logic for multi-device scenario for power, performance and scheduler modules. Signed-off-by: viki435 <[email protected]>
1 parent 3115eed commit e26691c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

conformance_tests/sysman/test_sysman_power/src/test_sysman_power.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,10 +1100,6 @@ LZT_TEST_F(
11001100
is_power_supported = true;
11011101
LOG_INFO << "Power handles are available on this device! ";
11021102
auto p_power_handles = lzt::get_power_handles(device, count);
1103-
if (count == 0) {
1104-
FAIL() << "No handles found: "
1105-
<< _ze_result_t(ZE_RESULT_ERROR_UNSUPPORTED_FEATURE);
1106-
}
11071103
for (auto p_power_handle : p_power_handles) {
11081104
auto p_properties = lzt::get_power_properties(p_power_handle);
11091105
if (p_properties.onSubdevice == true) {
@@ -1304,8 +1300,7 @@ LZT_TEST_F(
13041300
auto p_performance_handles =
13051301
lzt::get_performance_handles(device, perf_count);
13061302
if (perf_count == 0) {
1307-
FAIL() << "No handles found: "
1308-
<< _ze_result_t(ZE_RESULT_ERROR_UNSUPPORTED_FEATURE);
1303+
FAIL() << "No performance handles found for this device! ";
13091304
}
13101305
for (auto p_performance_handle : p_performance_handles) {
13111306
zes_perf_properties_t p_perf_properties =

0 commit comments

Comments
 (0)