summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/test/fapitargettest.H
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2013-07-19 12:43:56 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-07-24 11:13:51 -0500
commita2ce42447c1d70dc7090643055d0e28c411c8314 (patch)
tree14a441b5b99944c13ae8ab0d7bd59de93717eabb /src/usr/hwpf/test/fapitargettest.H
parentdfec771a6dec0d3b93e81eefc5a757cbaad9dbc4 (diff)
downloadtalos-hostboot-a2ce42447c1d70dc7090643055d0e28c411c8314.tar.gz
talos-hostboot-a2ce42447c1d70dc7090643055d0e28c411c8314.zip
HWPF: Enable FAPI L4 Target Tests
Something I noticed when adding FAPI code to FSP. Test was written but never called. Change-Id: I7283c96db4aadd75865302e36bf3067a55910eed Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5488 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/test/fapitargettest.H')
-rw-r--r--src/usr/hwpf/test/fapitargettest.H70
1 files changed, 48 insertions, 22 deletions
diff --git a/src/usr/hwpf/test/fapitargettest.H b/src/usr/hwpf/test/fapitargettest.H
index 32b93fe0a..11df69073 100644
--- a/src/usr/hwpf/test/fapitargettest.H
+++ b/src/usr/hwpf/test/fapitargettest.H
@@ -1,25 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/hwpf/test/fapitargettest.H $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/hwpf/test/fapitargettest.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2013 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#ifndef __FAPITARGETTEST_H
#define __FAPITARGETTEST_H
@@ -116,6 +116,32 @@ public:
TS_FAIL("testTarget6. Fail");
}
}
+
+ /**
+ * @brief Test target #7
+ */
+ void testTarget7()
+ {
+ uint32_t l_res = targetTest7();
+
+ if (l_res != 0)
+ {
+ TS_FAIL("testTarget7. Fail");
+ }
+ }
+
+ /**
+ * @brief Test target #8
+ */
+ void testTarget8()
+ {
+ uint32_t l_res = targetTest8();
+
+ if (l_res != 0)
+ {
+ TS_FAIL("testTarget8. Fail");
+ }
+ }
};
#endif
OpenPOWER on IntegriCloud