test: suppress warning prints for skipped Ults

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2025-01-20 12:02:03 +00:00
committed by Compute-Runtime-Automation
parent bbaca5d8e2
commit df39f27334

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2023 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -141,7 +141,7 @@ void MemoryManagementFixture::checkForLeaks() {
auto invalidLeakIndexValues = MemoryManagement::invalidLeakIndex;
EXPECT_EQ(leakEventIndex, invalidLeakIndexValues);
} while (leakEventIndex != MemoryManagement::invalidLeakIndex);
} else {
} else if (!testResult->Skipped()) {
printf("*** WARNING: Leaks found but dumping disabled during test failure ***\n");
}
}