summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/mdia/test
diff options
context:
space:
mode:
authorCaleb Palmer <cnpalmer@us.ibm.com>2016-08-01 15:48:04 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-08 12:49:49 -0400
commitc6f38bc83589f134619000cce3db88998cb610a4 (patch)
tree8d80cb38b00d80daa26dc72f1ced46dfca0320e6 /src/usr/diag/mdia/test
parent0d9f6d9a95c5b22d4044904e3563945638fe1c75 (diff)
downloadtalos-hostboot-c6f38bc83589f134619000cce3db88998cb610a4.tar.gz
talos-hostboot-c6f38bc83589f134619000cce3db88998cb610a4.zip
MDIA: re-enable runStep()
Change-Id: Ibfc43359c3fb3d76ccf5478f16067bb2bbd16baa RTC: 151755 CMVC-Prereq: 1006209 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27724 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/diag/mdia/test')
-rw-r--r--src/usr/diag/mdia/test/mdiatestmba.H28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/usr/diag/mdia/test/mdiatestmba.H b/src/usr/diag/mdia/test/mdiatestmba.H
index 1c6e592a7..bca85c11d 100644
--- a/src/usr/diag/mdia/test/mdiatestmba.H
+++ b/src/usr/diag/mdia/test/mdiatestmba.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2016 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -40,12 +42,12 @@ class MdiaMbaTest : public CxxTest::TestSuite
{
public:
- void testGetMbaDiagnosticMode(void)
+ void testGetDiagnosticMode(void)
{
using namespace MDIA;
using namespace TARGETING;
- TS_TRACE(ENTER_MRK "testGetMbaDiagnosticMode");
+ TS_TRACE(ENTER_MRK "testGetDiagnosticMode");
TargetHandleList mbaList;
getAllChiplets(mbaList, TYPE_MBA);
@@ -56,12 +58,12 @@ class MdiaMbaTest : public CxxTest::TestSuite
Globals globals;
TargetHandle_t mba = mbaList[0];
- errlHndl_t err = getMbaDiagnosticMode(
+ errlHndl_t err = getDiagnosticMode(
globals, mba, mode);
if(err)
{
- TS_FAIL("getMbaDiagnosticMode failed "
+ TS_FAIL("getDiagnosticMode failed "
"unexpectedly");
}
@@ -71,15 +73,15 @@ class MdiaMbaTest : public CxxTest::TestSuite
}
}
- TS_TRACE(EXIT_MRK "testGetMbaDiagnosticMode");
+ TS_TRACE(EXIT_MRK "testGetDiagnosticMode");
}
- void testGetMbaWorkFlow(void)
+ void testGetWorkFlow(void)
{
using namespace MDIA;
using namespace TARGETING;
- TS_TRACE(ENTER_MRK "testGetMbaWorkFlow");
+ TS_TRACE(ENTER_MRK "testGetWorkFlow");
Globals globals;
TargetHandle_t mba = 0;
@@ -91,12 +93,12 @@ class MdiaMbaTest : public CxxTest::TestSuite
if( !mbaList.empty() )
{
mba = mbaList[0];
- err = getMbaDiagnosticMode(
+ err = getDiagnosticMode(
globals, mba, mode);
if(err)
{
- TS_FAIL("getMbaDiagnosticMode "
+ TS_FAIL("getDiagnosticMode "
"failed unexpectedly");
}
@@ -113,11 +115,11 @@ class MdiaMbaTest : public CxxTest::TestSuite
expected.push_back(START_SCRUB);
expected.push_back(CLEAR_HW_CHANGED_STATE);
- err = getMbaWorkFlow(mode, wf, globals);
+ err = getWorkFlow(mode, wf, globals);
if(err)
{
- TS_FAIL("getMbaWorkFlow failed unexpectedly");
+ TS_FAIL("getWorkFlow failed unexpectedly");
}
if(wf.size() != expected.size())
@@ -135,7 +137,7 @@ class MdiaMbaTest : public CxxTest::TestSuite
}
}
- TS_TRACE(EXIT_MRK "testGetMbaWorkFlow");
+ TS_TRACE(EXIT_MRK "testGetWorkFlow");
}
};
#endif
OpenPOWER on IntegriCloud