Skip to content

Commit 68f9300

Browse files
test: print test name in warning message
Related-To: NEO-13839 Signed-off-by: Mateusz Hoppe <[email protected]>
1 parent 30f552c commit 68f9300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared/test/common/helpers/mock_sip_listener.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
namespace NEO {
1515

16-
void MockSipListener::OnTestEnd(const testing::TestInfo &) {
16+
void MockSipListener::OnTestEnd(const testing::TestInfo &testInfo) {
1717
if (MockSipData::mockSipKernel) {
1818
if (MockSipData::mockSipKernel->tempSipMemoryAllocation) {
19-
printf("*** WARNING: test did not free sip kernels ***\n");
19+
printf("*** WARNING: test did not free sip kernels, test name: %s ***\n", testInfo.name());
2020
MockSipData::mockSipKernel->tempSipMemoryAllocation.reset(nullptr);
2121
}
2222
}

0 commit comments

Comments
 (0)