diff options
author | Adam Muhle <armuhle@us.ibm.com> | 2012-06-14 10:22:04 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-06-26 13:14:13 -0500 |
commit | 6f7b9237e97caeed7796420294eb3fead65f2f98 (patch) | |
tree | d241898bcb4cc21bb729cff6ed027651ab2a74b0 /src/usr/pnor | |
parent | f44209f72b68110b2853104b1a26c731becd1f71 (diff) | |
download | blackbird-hostboot-6f7b9237e97caeed7796420294eb3fead65f2f98.tar.gz blackbird-hostboot-6f7b9237e97caeed7796420294eb3fead65f2f98.zip |
Enable REAL PNOR DD test cases in the VENICE configuration
Change-Id: I94c4d5d378f3c4f615e33af3bed6a04e4c55c145
RTC: 42625
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1203
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r-- | src/usr/pnor/test/pnorddtest.H | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/src/usr/pnor/test/pnorddtest.H b/src/usr/pnor/test/pnorddtest.H index 5a7c88b07..c984ee2b6 100644 --- a/src/usr/pnor/test/pnorddtest.H +++ b/src/usr/pnor/test/pnorddtest.H @@ -395,17 +395,7 @@ class PnorDdTest : public CxxTest::TestSuite supported_modes.push_back(PnorDD::MODEL_MEMCPY); supported_modes.push_back(PnorDD::MODEL_LPC_MEM); - //Hack to check if this is a VENICE config since Real PNOR doesn't work in simics right now. - //TODO: Remove this hack when simics is fixed. (RTC: 42625) - - TARGETING::EntityPath epath(TARGETING::EntityPath::PATH_PHYSICAL); - epath.addLast(TARGETING::TYPE_SYS,0); - epath.addLast(TARGETING::TYPE_NODE,0); - epath.addLast(TARGETING::TYPE_PROC,9); - TARGETING::Target* veniceProc = TARGETING::targetService().toTarget(epath); - - if((!TARGETING::is_vpo()) && - (veniceProc == NULL)) + if(!TARGETING::is_vpo()) { TRACFCOMP(g_trac_pnor, "PnorDdTest::test_readwrite_modes> Adding REAL_CMD mode"); supported_modes.push_back(PnorDD::MODEL_REAL_CMD); @@ -563,17 +553,7 @@ class PnorDdTest : public CxxTest::TestSuite supported_modes.push_back(PnorDD::MODEL_MEMCPY); supported_modes.push_back(PnorDD::MODEL_LPC_MEM); - //Hack to check if this is a VENICE config since Real PNOR doesn't work in simics right now. - //TODO: Remove this hack when simics is fixed. (RTC: 42625) - - TARGETING::EntityPath epath(TARGETING::EntityPath::PATH_PHYSICAL); - epath.addLast(TARGETING::TYPE_SYS,0); - epath.addLast(TARGETING::TYPE_NODE,0); - epath.addLast(TARGETING::TYPE_PROC,9); - TARGETING::Target* veniceProc = TARGETING::targetService().toTarget(epath); - - if((!TARGETING::is_vpo()) && - (veniceProc == NULL)) + if(!TARGETING::is_vpo()) { TRACFCOMP(g_trac_pnor, "PnorDdTest::test_smartwrite_modes> Adding REAL_CMD mode"); supported_modes.push_back(PnorDD::MODEL_REAL_CMD); @@ -725,17 +705,8 @@ class PnorDdTest : public CxxTest::TestSuite std::list<PnorDD::PnorMode_t> supported_modes; supported_modes.push_back(PnorDD::MODEL_MEMCPY); supported_modes.push_back(PnorDD::MODEL_LPC_MEM); - //Hack to check if this is a VENICE config since Real PNOR doesn't work in simics right now. - //TODO: Remove this hack when simics is fixed. (RTC: 42625) - - TARGETING::EntityPath epath(TARGETING::EntityPath::PATH_PHYSICAL); - epath.addLast(TARGETING::TYPE_SYS,0); - epath.addLast(TARGETING::TYPE_NODE,0); - epath.addLast(TARGETING::TYPE_PROC,9); - TARGETING::Target* veniceProc = TARGETING::targetService().toTarget(epath); - if((!TARGETING::is_vpo()) && - (veniceProc == NULL)) + if(!TARGETING::is_vpo()) { TRACFCOMP(g_trac_pnor, "PnorDdTest::test_crossblock_modes> Adding REAL_CMD mode"); supported_modes.push_back(PnorDD::MODEL_REAL_CMD); |