summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/fapi2HwpTest.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/fapi2HwpTest.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/fapi2HwpTest.H')
-rw-r--r--src/usr/fapi2/test/fapi2HwpTest.H15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/usr/fapi2/test/fapi2HwpTest.H b/src/usr/fapi2/test/fapi2HwpTest.H
index c6a1bbc71..428ecf38b 100644
--- a/src/usr/fapi2/test/fapi2HwpTest.H
+++ b/src/usr/fapi2/test/fapi2HwpTest.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -57,6 +57,7 @@ void test_fapi2Hwp()
TARGETING::getAllChips(l_chipList, TARGETING::TYPE_PROC, false);
TARGETING::Target * l_nimbusProc = NULL;
+ TARGETING::Target * l_cumulusProc = NULL;
//Take the first NIMBUS proc and use it
for(uint32_t i = 0; i < l_chipList.size(); i++)
@@ -67,8 +68,20 @@ void test_fapi2Hwp()
l_nimbusProc = l_chipList[i];
break;
}
+ if(TARGETING::MODEL_CUMULUS ==
+ l_chipList[i]->getAttr<TARGETING::ATTR_MODEL>())
+ {
+ l_cumulusProc = l_chipList[i];
+ break;
+ }
}
numTests++;
+ if(l_cumulusProc)
+ {
+ // @todo RTC 178802 Enable test cases turned off during bring up
+ // This test needs to be updated for Cumulus
+ break;
+ }
if(l_nimbusProc == NULL)
{
// Send an errorlog because we cannot find any NIMBUS procs.
OpenPOWER on IntegriCloud