summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/fapi2GetChildrenTest.H
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2016-04-19 16:24:25 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-25 16:02:30 -0400
commitb24c53c78faff4a6ef41232d1ae742d28045e354 (patch)
tree0ced340c2ab7bd3e4a4dd7ae79b1b210a09d42c3 /src/usr/fapi2/test/fapi2GetChildrenTest.H
parent9624de19f81da674e87a9fbc697f98fbcf43fb9d (diff)
downloadtalos-hostboot-b24c53c78faff4a6ef41232d1ae742d28045e354.tar.gz
talos-hostboot-b24c53c78faff4a6ef41232d1ae742d28045e354.zip
Build FAPI2 into HBRT image
Change-Id: I3567d4d534a26edd33810f6b3a5c033507ffc119 RTC:145237 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23441 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/test/fapi2GetChildrenTest.H')
-rw-r--r--src/usr/fapi2/test/fapi2GetChildrenTest.H9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr/fapi2/test/fapi2GetChildrenTest.H b/src/usr/fapi2/test/fapi2GetChildrenTest.H
index 569406de4..ee745769e 100644
--- a/src/usr/fapi2/test/fapi2GetChildrenTest.H
+++ b/src/usr/fapi2/test/fapi2GetChildrenTest.H
@@ -35,6 +35,9 @@
#include <error_scope.H>
+namespace fapi2
+{
+
class Fapi2GetChildrenTest : public CxxTest::TestSuite
{
public:
@@ -92,10 +95,10 @@ void test_fapi2GetChildren()
break;
}
- TARGETING::Target* targeting_targets[NUM_TARGETS];
+ TARGETING::Target* targeting_targets[fapi2::NUM_TARGETS];
generateTargets(l_nimbusProc, targeting_targets);
- for( uint64_t x = 0; x < NUM_TARGETS; x++ )
+ for( uint64_t x = 0; x < fapi2::NUM_TARGETS; x++ )
{
if(targeting_targets[x] == NULL)
{
@@ -448,3 +451,5 @@ void test_fapi2GetChildren()
};
+
+} // namespace fapi2
OpenPOWER on IntegriCloud