kfdtest: Consolidate log messages for skipped tests

When skipping a test, the output should be:
Skipping test: <reason>.

This will allow for easier identification, automation and general readability

Change-Id: I98bda1c068f9dbc83aeea74f642b6101121f234d


[ROCm/ROCR-Runtime commit: f2bd7e1d52]
This commit is contained in:
Kent Russell
2018-08-13 10:18:04 -04:00
parent e50ef7ad47
commit b2e7a6e2a8
11 changed files with 58 additions and 59 deletions
@@ -167,7 +167,7 @@ TEST_F(KFDIPCTest, BasicTest) {
ASSERT_GE(defaultGPUNode, 0) << "failed to get default GPU Node";
if (!GetVramSize(defaultGPUNode)) {
LOG() << "Skip the test because of no VRAM found" << std::endl;
LOG() << "Skipping test: No VRAM found." << std::endl;
return;
}
@@ -606,7 +606,7 @@ TEST_F(KFDIPCTest, CrossMemoryAttachTest) {
ASSERT_GE(defaultGPUNode, 0) << "failed to get default GPU Node";
if (!GetVramSize(defaultGPUNode)) {
LOG() << "Skip the test because of no VRAM found" << std::endl;
LOG() << "Skipping test: No VRAM found." << std::endl;
return;
}
@@ -670,7 +670,7 @@ TEST_F(KFDIPCTest, CMABasicTest) {
ASSERT_GE(defaultGPUNode, 0) << "failed to get default GPU Node";
if (!GetVramSize(defaultGPUNode)) {
LOG() << "Skip the test because of no VRAM found" << std::endl;
LOG() << "Skipping test: No VRAM found." << std::endl;
return;
}