diff options
| author | Corey Swenson <cswenson@us.ibm.com> | 2017-10-23 13:51:43 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-01-25 15:22:21 -0500 |
| commit | afa7087e71fedb6d50b8874231420449834e7d1b (patch) | |
| tree | a7cbf633f6708d240a7c3c976308d92d12e76a73 /src/usr/fapi2/test/fapi2GetChildrenTest.H | |
| parent | 24d964b78e0248d73c5e66958cd7992404a49533 (diff) | |
| download | talos-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/fapi2GetChildrenTest.H')
| -rw-r--r-- | src/usr/fapi2/test/fapi2GetChildrenTest.H | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/src/usr/fapi2/test/fapi2GetChildrenTest.H b/src/usr/fapi2/test/fapi2GetChildrenTest.H index 946983338..0f382b357 100644 --- a/src/usr/fapi2/test/fapi2GetChildrenTest.H +++ b/src/usr/fapi2/test/fapi2GetChildrenTest.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2017 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -53,6 +53,7 @@ void test_fapi2GetChildren() uint32_t l_expectedSize = 0; errlHndl_t l_err = NULL; TARGETING::Target * l_nimbusProc = NULL; + TARGETING::Target * l_cumulusProc = NULL; do { // Create a vector of TARGETING::Target pointers @@ -61,7 +62,7 @@ void test_fapi2GetChildren() // Get a list of all of the proc chips TARGETING::getAllChips(l_chipList, TARGETING::TYPE_PROC, false); - //Take the first NIMBUS proc and use it + //Take the first proc and use it for(uint32_t i = 0; i < l_chipList.size(); i++) { if(TARGETING::MODEL_NIMBUS == @@ -70,8 +71,20 @@ void test_fapi2GetChildren() 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. @@ -475,6 +488,7 @@ void test_fapi2GetChildrenFilter() uint32_t l_expectedSize = 0; errlHndl_t l_err = NULL; TARGETING::Target * l_nimbusProc = NULL; + TARGETING::Target * l_cumulusProc = NULL; do { FAPI_DBG("start of test_fapi2GetChildrenFilter()"); @@ -494,9 +508,21 @@ void test_fapi2GetChildrenFilter() 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. |

