summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/fapi2Test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/fapi2/test/fapi2Test.mk')
-rw-r--r--src/usr/fapi2/test/fapi2Test.mk22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/usr/fapi2/test/fapi2Test.mk b/src/usr/fapi2/test/fapi2Test.mk
index 3f9770f90..8ce5638e0 100644
--- a/src/usr/fapi2/test/fapi2Test.mk
+++ b/src/usr/fapi2/test/fapi2Test.mk
@@ -52,7 +52,27 @@ OBJS += fapi2TestUtils.o
OBJS += getVpdTest.o
OBJS += p9_pm_get_poundv_bucket.o
-TESTS += ${shell ls ${ROOTPATH}/src/usr/fapi2/test/*Test.H | sort | xargs}
+ifeq (${HOSTBOOT_RUNTIME},1)
+################################################################################
+## Remove non-runtime tests (grep -v testname.H)
+TESTS += ${shell ls ${ROOTPATH}/src/usr/fapi2/test/*Test.H | \
+ grep -v fapi2I2cAccessTest.H | \
+ sort | xargs}
+
+################################################################################
+
+else
+
+################################################################################
+## All hostboot IPL time tests
+TESTS += ${shell ls ${ROOTPATH}/src/usr/fapi2/test/*Test.H | \
+ sort | xargs}
+OBJS += p9_i2ctests.o
+
+################################################################################
+endif
+
+TESTS += ${shell ls src/usr/fapi2/test/*TestCxx.H | sort | xargs)}
VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/pm/
OpenPOWER on IntegriCloud