SWDEV-253349 - Add a SKIP state for hip directed tests when HIP_BRINGUP_SKIP macro is used.

Change-Id: If176cf775e568d4b32982127731223fe96a38f0d
This commit is contained in:
kjayapra-amd
2020-09-21 21:18:25 -04:00
committed by Karthik Jayaprakash
parent 3a4b74a3a0
commit d1f82881f6
15 changed files with 74 additions and 5 deletions
@@ -75,6 +75,9 @@ int main() {
HIPCHECK(hipFree(Z_d));
} else {
std::cout<<"Machine does not seem to have P2P Capabilities, Empty Pass"<<std::endl;
if (hip_skip_tests_enabled()) {
return hip_skip_retcode();
}
}
}
@@ -81,6 +81,9 @@ int main() {
HIPCHECK(hipFree(Z_d));
} else {
std::cout<<"Machine does not seem to have P2P Capabilities, Empty Pass"<<std::endl;
if (hip_skip_tests_enabled()) {
return hip_skip_retcode();
}
}
}
@@ -77,6 +77,9 @@ int main() {
HIPCHECK(hipFree(Z_d));
} else {
std::cout<<"Machine does not seem to have P2P Capabilities, Empty Pass"<<std::endl;
if (hip_skip_tests_enabled()) {
return hip_skip_retcode();
}
}
}
passed();
@@ -83,6 +83,9 @@ int main() {
HIPCHECK(hipFree(Z_d));
} else {
std::cout<<"Machine does not seem to have P2P Capabilities, Empty Pass"<<std::endl;
if (hip_skip_tests_enabled()) {
return hip_skip_retcode();
}
}
}