summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/fapi2IsFunctionalTest.H
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2017-10-23 13:51:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-01-25 15:22:21 -0500
commitafa7087e71fedb6d50b8874231420449834e7d1b (patch)
treea7cbf633f6708d240a7c3c976308d92d12e76a73 /src/usr/fapi2/test/fapi2IsFunctionalTest.H
parent24d964b78e0248d73c5e66958cd7992404a49533 (diff)
downloadtalos-hostboot-afa7087e71fedb6d50b8874231420449834e7d1b.tar.gz
talos-hostboot-afa7087e71fedb6d50b8874231420449834e7d1b.zip
Cumulus updates and testcase workarounds
Change-Id: I24092ef382fc56b7d3e0aa90a2699ff6cf42d8e7 RTC:180894 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48703 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
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