summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/attn
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2013-10-30 10:26:21 +0530
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-12-02 18:00:45 -0600
commit03d39f2bbcef34ef34eabdf8e64b5cfe52f2d6f7 (patch)
treedf4e6178f334331204a90f141a86849e93bc9c05 /src/usr/diag/attn
parent554aa3dbb530d6da0de7c83bf23346ae5f6032eb (diff)
downloadtalos-hostboot-03d39f2bbcef34ef34eabdf8e64b5cfe52f2d6f7.tar.gz
talos-hostboot-03d39f2bbcef34ef34eabdf8e64b5cfe52f2d6f7.zip
PRDF:Handling multiple chips of a domain at error
Depends-On: Ib42b269d2e9fd5588b58950949c379bdc8518bfc RTC:85138 Change-Id: Id4d785f72c928498dbcbee729e9644a8464fc0ae Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7459 Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Squashed: Ic871fdfb693a4cc174c72e1583a3373524277559 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14573 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/attn')
-rw-r--r--src/usr/diag/attn/test/attntestlist.H22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/usr/diag/attn/test/attntestlist.H b/src/usr/diag/attn/test/attntestlist.H
index fc948d82f..684cc6e00 100644
--- a/src/usr/diag/attn/test/attntestlist.H
+++ b/src/usr/diag/attn/test/attntestlist.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* [+] 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. */
@@ -166,15 +168,21 @@ class AttnListTest : public CxxTest::TestSuite
{
static AttentionOps * nullOps = 0;
static const TargetHandle_t nullTarget = 0;
+ static const AttnData attn0( nullTarget, CHECK_STOP);
+ static const AttnData attn1( nullTarget + 1, CHECK_STOP);
+ static const AttnData attn2( nullTarget + 2, CHECK_STOP);
+ static const AttnData attn3( nullTarget + 3, CHECK_STOP);
+ static const AttnData attn4( nullTarget + 4, CHECK_STOP);
+ static const AttnData attn5( nullTarget + 5, CHECK_STOP);
static const AttnData tests[] =
{
- {nullTarget, CHECK_STOP},
- {nullTarget +1, CHECK_STOP},
- {nullTarget +2, CHECK_STOP},
- {nullTarget, RECOVERABLE},
- {nullTarget +1, RECOVERABLE},
- {nullTarget +2, RECOVERABLE},
+ attn0,
+ attn1,
+ attn2,
+ attn3,
+ attn4,
+ attn5,
};
static const AttnData * testsEnd = tests
+ sizeof(tests)/sizeof(*tests);
OpenPOWER on IntegriCloud