summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/fapi2IsFunctionalTest.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/fapi2/test/fapi2IsFunctionalTest.H')
-rw-r--r--src/usr/fapi2/test/fapi2IsFunctionalTest.H11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/usr/fapi2/test/fapi2IsFunctionalTest.H b/src/usr/fapi2/test/fapi2IsFunctionalTest.H
index e6fddc64f..e9b1ff8e0 100644
--- a/src/usr/fapi2/test/fapi2IsFunctionalTest.H
+++ b/src/usr/fapi2/test/fapi2IsFunctionalTest.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -73,8 +73,8 @@ class Fapi2IsFunctional : public CxxTest::TestSuite
{
if(targetList[x] == NULL)
{
- TS_FAIL("fapi2IsFunctionalTest: Unable to find target at index [%d]",
- x);
+ FAPI_INF("fapi2IsFunctionalTest: Unable to find target at index [%d]",
+ x);
}
}
@@ -167,6 +167,11 @@ class Fapi2IsFunctional : public CxxTest::TestSuite
{
numTests++;
+ if(targetList[i] == nullptr)
+ {
+ continue;
+ }
+
currTarg = targetList[i];
// get the HWAS_STATE of the current target
OpenPOWER on IntegriCloud