summaryrefslogtreecommitdiffstats
path: root/src/usr/scom/test
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2018-02-15 09:57:16 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-02-16 20:24:04 -0500
commit8acb64aeb8e4174764496ee1a1777980629800a8 (patch)
treebcd340215c7a163699e021a099084432a7855520 /src/usr/scom/test
parent35165b3476254ee9a6f95786b93e6425ed6482a2 (diff)
downloadtalos-hostboot-8acb64aeb8e4174764496ee1a1777980629800a8.tar.gz
talos-hostboot-8acb64aeb8e4174764496ee1a1777980629800a8.zip
Enable Scom + Targeting unit tests for Cumulus model
Change-Id: Ib02c0af30d6b06418f2ed6a2356cee93162aaffb RTC: 178802 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54136 Reviewed-by: Corey V. Swenson <cswenson@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/scom/test')
-rw-r--r--src/usr/scom/test/scomtest.H11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/usr/scom/test/scomtest.H b/src/usr/scom/test/scomtest.H
index 494d9350a..2de1b78e9 100644
--- a/src/usr/scom/test/scomtest.H
+++ b/src/usr/scom/test/scomtest.H
@@ -1149,8 +1149,6 @@ public:
void test_Centaur_ScomTranslations(void)
{
- // @todo RTC 178802 Enable test cases turned off during bring up
- /*
TRACFCOMP( g_trac_scom, "ScomTest::test_Centaur_ScomTranslations> Start" );
uint64_t fails = 0;
@@ -1201,10 +1199,10 @@ public:
bool expectError;
} test_data[] = {
//Target Address Expected error
- { scom_targets[myMBA0], 0x03010655 ,0x111111111111DDDD,false},
- { scom_targets[myMBA1], 0x03010655, 0x333333334444EEEE,false},
- { scom_targets[myMBA0], 0x8000C0140301143F,0x1111111111111212,false},
- { scom_targets[myMBA1], 0x8000C0140301143F, 0x333333334444abcd,false},
+ { scom_targets[myMBA0], 0x03010655,0x3010655,false},
+ { scom_targets[myMBA1], 0x03010655,0x3010E55,false},
+ { scom_targets[myMBA0], 0x8000C0140301143F,0x8000C0140301143F,false},
+ { scom_targets[myMBA1], 0x8000C0140301143F,0x8000C0140301183F,false},
{ scom_targets[myMBA0], 0x8000C0140301183F,0x111111111111ccee,true}, // invalid non zero indirect address
{ scom_targets[myMBA0], 0x03010E55, 0x010101010101CCCC,true}, // invalid passing in a non-0 unit address
};
@@ -1260,7 +1258,6 @@ public:
}
}
TRACFCOMP( g_trac_scom, "ScomTest::test_Centaur_translateScom_SBE> %d/%d fails", fails, total );
- */
}
OpenPOWER on IntegriCloud