diff options
| author | Stephen Cprek <smcprek@us.ibm.com> | 2017-07-27 16:56:12 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-11 10:09:54 -0400 |
| commit | ca30e6bf9ea440ba1fd8c7fb5092b9fe6e18aba0 (patch) | |
| tree | 9a8028d226e4c24071fb216c47cb49f6faaa0e8b /src/usr/util/test | |
| parent | a0e8246b27da999d4d8beba64994daef6333a442 (diff) | |
| download | blackbird-hostboot-ca30e6bf9ea440ba1fd8c7fb5092b9fe6e18aba0.tar.gz blackbird-hostboot-ca30e6bf9ea440ba1fd8c7fb5092b9fe6e18aba0.zip | |
Refactor lid to pnor mapping and add pnor to lid pair mapping
Change-Id: Ib4f3afef44cdab96c66b13426da86049b896757a
RTC: 175115
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43809
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: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/util/test')
| -rw-r--r-- | src/usr/util/test/testlidmgr.H | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/usr/util/test/testlidmgr.H b/src/usr/util/test/testlidmgr.H index 334c1d810..1644b1432 100644 --- a/src/usr/util/test/testlidmgr.H +++ b/src/usr/util/test/testlidmgr.H @@ -35,27 +35,13 @@ #include <errl/errlmanager.H> #include "../utilbase.H" -#include "../utillidpnor.H" +#include <util/utillidmgr.H> class LidMgrTest : public CxxTest::TestSuite { public: /** - * @brief Test to check if the const array lidToPnor is sorted - */ - void testLidToPnorSorted(void) - { - for (size_t i = 0; (i+1) < Util::NUM_LID_TO_PNOR; ++i) - { - if (Util::lidToPnor[i].first > Util::lidToPnor[i+1].first) - { - TS_FAIL("testLidToPnorSorted: utilidmgr lidToPnor[] is not sorted"); - } - } - } - - /** * @brief Test to check if the structure that maps lidID's to pnor sections * is working correctly */ |

