From b9e8bc1f523d93e33a9cf16582e716980d6ebd5c Mon Sep 17 00:00:00 2001 From: Alex Sierra Date: Mon, 25 Apr 2022 22:06:57 -0500 Subject: [PATCH] kfdtest: add log message to KFDExceptionTest [WHY] These tests force HW exceptions in the GPU driver. Some of these exceptions might print page fault error messages at kernel level. These are expected errors due to the nature of the tests, but still might cause confusion to users. [HOW] Add log message to warn the user about these kernel error messages. Signed-off-by: Alex Sierra Change-Id: I8eef87b83939e37230da0c374c2f77d2d484baa9 --- tests/kfdtest/src/KFDExceptionTest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/kfdtest/src/KFDExceptionTest.cpp b/tests/kfdtest/src/KFDExceptionTest.cpp index 9fa15e0969..ddcf8ceb16 100644 --- a/tests/kfdtest/src/KFDExceptionTest.cpp +++ b/tests/kfdtest/src/KFDExceptionTest.cpp @@ -33,6 +33,9 @@ void KFDExceptionTest::SetUp() { KFDBaseComponentTest::SetUp(); + LOG() << "This Exception test might cause expected page fault " + "error logs at kernel level." << std::endl; + ROUTINE_END }