diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2012-11-12 13:28:11 -0600 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-12-03 17:05:17 -0600 |
| commit | 081bc55d54bffba5f1bb660d7757e5a13a6ea771 (patch) | |
| tree | 765249a9dacb584cbfa8b74e2a3764f8b493f952 /src/usr/runtime/test | |
| parent | 0bbc1fcf5d4b8a5301820f709b86a9ac292dacee (diff) | |
| download | blackbird-hostboot-081bc55d54bffba5f1bb660d7757e5a13a6ea771.tar.gz blackbird-hostboot-081bc55d54bffba5f1bb660d7757e5a13a6ea771.zip | |
Add NAME and ECMD_STRING to HostServices attributes
These additions came about as a result of the HostServices
code review meetings.
Change-Id: I1d76b931a158ba724bdf0ee9835a1ecbb7b10100
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2310
Tested-by: Jenkins Server
Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/test')
| -rw-r--r-- | src/usr/runtime/test/runtimeattrstest.H | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/usr/runtime/test/runtimeattrstest.H b/src/usr/runtime/test/runtimeattrstest.H index bdf7b430e..435c6bee6 100644 --- a/src/usr/runtime/test/runtimeattrstest.H +++ b/src/usr/runtime/test/runtimeattrstest.H @@ -143,7 +143,7 @@ class RuntimeTest: public CxxTest::TestSuite if( attr != sysdata->numAttr ) { TRACFCOMP( g_trac_runtime, "numAttr=%d, found attr=%d", sysdata->numAttr, attr ); - TS_FAIL("Number of attributes found doesn't match expected value"); + TS_FAIL("testVerifySystemAttributes> Number of attributes found doesn't match expected value"); } TRACFCOMP( g_trac_runtime, "testVerifySystemAttributes> finish" ); @@ -223,7 +223,7 @@ class RuntimeTest: public CxxTest::TestSuite if( headers[attr].sizeBytes != sizeof(fapi::ATTR_CHIP_ID_Type) ) { - TRACFCOMP( g_trac_runtime, "size=%.16X", headers[attr].sizeBytes ); + TRACFCOMP( g_trac_runtime, "procid=%d: size=%.16X", curproc->procid, headers[attr].sizeBytes ); TS_FAIL("Size of fapi::ATTR_CHIP_ID data is wrong"); } else @@ -233,7 +233,7 @@ class RuntimeTest: public CxxTest::TestSuite (beginning+headers[attr].offset); if( *tmp1_act != tmp1 ) { - TRACFCOMP( g_trac_runtime, "Expected=%X, Actual=%X", tmp1, *tmp1_act ); + TRACFCOMP( g_trac_runtime, "procid=%d: Expected=%X, Actual=%X", curproc->procid, tmp1, *tmp1_act ); TS_FAIL("fapi::ATTR_CHIP_ID data is wrong"); } } @@ -253,7 +253,7 @@ class RuntimeTest: public CxxTest::TestSuite (beginning+headers[attr].offset); if( *tmp2_act != tmp2 ) { - TRACFCOMP( g_trac_runtime, "Expected=%X, Actual=%X", tmp2, *tmp2_act ); + TRACFCOMP( g_trac_runtime, "procid=%d: Expected=%X, Actual=%X", curproc->procid, tmp2, *tmp2_act ); TS_FAIL("fapi::ATTR_PM_PVSAFE_PSTATE data is wrong"); } } @@ -262,13 +262,12 @@ class RuntimeTest: public CxxTest::TestSuite } if( attr != curproc->numAttr ) { - TRACFCOMP( g_trac_runtime, "numAttr=%d, found attr=%d", curproc->numAttr, attr ); - TS_FAIL("Number of attributes found doesn't match expected value"); + TRACFCOMP( g_trac_runtime, "procid=%d: numAttr=%d, found attr=%d", curproc->procid, curproc->numAttr, attr ); + TS_FAIL("testVerifyNodeAttributes> Number of attributes found doesn't match expected value"); } delete proc; curproc++; - TRACFCOMP( g_trac_runtime, "curproc=%p", curproc ); } @@ -333,7 +332,7 @@ class RuntimeTest: public CxxTest::TestSuite (beginning+headers[attr].offset); if( *tmp1_act != tmp1 ) { - TRACFCOMP( g_trac_runtime, "Expected=%X, Actual=%X", tmp1, *tmp1_act ); + TRACFCOMP( g_trac_runtime, "procid=%d: Expected=%X, Actual=%X", curproc->procid, tmp1, *tmp1_act ); TS_FAIL("fapi::ATTR_CHIP_UNIT_POS data is wrong"); } } @@ -353,7 +352,7 @@ class RuntimeTest: public CxxTest::TestSuite (beginning+headers[attr].offset); if( *tmp2_act != tmp2 ) { - TRACFCOMP( g_trac_runtime, "Expected=%X, Actual=%X", tmp2, *tmp2_act ); + TRACFCOMP( g_trac_runtime, "procid=%d: Expected=%X, Actual=%X", curproc->procid, tmp2, *tmp2_act ); TS_FAIL("fapi::ATTR_FUNCTIONAL data is wrong"); } } @@ -362,7 +361,7 @@ class RuntimeTest: public CxxTest::TestSuite } if( attr != curex->numAttr ) { - TRACFCOMP( g_trac_runtime, "numAttr=%d, found attr=%d", curex->numAttr, attr ); + TRACFCOMP( g_trac_runtime, "procid=%d: numAttr=%d, found attr=%d", curproc->procid, curex->numAttr, attr ); TS_FAIL("Number of attributes found doesn't match expected value"); } |

