Skip to content

Commit

Permalink
MDIA: Update mdiatestmba test cases
Browse files Browse the repository at this point in the history
Change-Id: I85276c16dc92a29efe348b4073212c774b19abae
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/93708
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>
Reviewed-by: Benjamen G Tyner <ben.tyner@ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Mar 25, 2020
1 parent d89b3e7 commit 638312e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/usr/diag/mdia/test/mdiatestmba.H
Expand Up @@ -61,13 +61,14 @@ class MdiaMbaTest : public CxxTest::TestSuite
}
else if ( fapi2::TARGET_TYPE_OCMB_CHIP == type )
{
TARGETING::getAllChiplets( list, TYPE_OCMB_CHIP );
TARGETING::getAllChips( list, TYPE_OCMB_CHIP );
}

if( !list.empty() )
{
DiagMode mode;
Globals globals;
globals.simicsRunning = true;
TargetHandle_t trgt = list[0];

errlHndl_t err = getDiagnosticMode( globals, trgt, mode );
Expand All @@ -94,6 +95,7 @@ class MdiaMbaTest : public CxxTest::TestSuite
TS_TRACE( ENTER_MRK "testGetWorkFlow" );

Globals globals;
globals.simicsRunning = true;
TargetHandle_t trgt = 0;
DiagMode mode;
errlHndl_t err = NULL;
Expand All @@ -110,7 +112,7 @@ class MdiaMbaTest : public CxxTest::TestSuite
}
else if ( fapi2::TARGET_TYPE_OCMB_CHIP == type )
{
TARGETING::getAllChiplets( list, TYPE_OCMB_CHIP );
TARGETING::getAllChips( list, TYPE_OCMB_CHIP );
}

if( !list.empty() )
Expand Down

0 comments on commit 638312e

Please sign in to comment.