summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2017-09-25 16:22:03 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-13 00:03:29 -0400
commit0cc7b8c179a5a3d349a1def66cdc1371803be00f (patch)
tree5a0926149cdc07a45baf194d6251f675436df322 /src/usr
parentebb736e43ac563a4466e9d334307e7d17e287b69 (diff)
downloadtalos-hostboot-0cc7b8c179a5a3d349a1def66cdc1371803be00f.tar.gz
talos-hostboot-0cc7b8c179a5a3d349a1def66cdc1371803be00f.zip
Enable fapi2 runtime test cases
Change-Id: I0cad695f717d686a514ee6d9ac0ca45a4441461b RTC: 179069 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46702 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/fapi2/runtime/test/makefile10
-rw-r--r--src/usr/fapi2/test/fapi2Test.mk3
2 files changed, 9 insertions, 4 deletions
diff --git a/src/usr/fapi2/runtime/test/makefile b/src/usr/fapi2/runtime/test/makefile
index 8fe452e7b..88cb33044 100644
--- a/src/usr/fapi2/runtime/test/makefile
+++ b/src/usr/fapi2/runtime/test/makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2015,2016
+# Contributors Listed Below - COPYRIGHT 2015,2017
# [+] International Business Machines Corp.
#
#
@@ -32,7 +32,13 @@ MODULE = testfapi2_rt
include ../../test/fapi2Test.mk
+$(info TESTS before is ${TESTS})
+TMPVAR1 := ${TESTS}
+#RTC: 181003 need to determine why fapi2HwpErrorBufferTest.H is getting data storage exception in RT
+TESTS = $(filter-out ${ROOTPATH}/src/usr/fapi2/test/getVpdTest.H ${ROOTPATH}/src/usr/fapi2/test/fapi2GetVpdTest.H ${ROOTPATH}/src/usr/fapi2/test/fapi2HwpErrorBufferTest.H , ${TMPVAR1})
+TMPVAR2 := ${OBJS}
+OBJS = $(filter-out getVpdTest.o, ${TMPVAR2})
include ${ROOTPATH}/config.mk
-
+$(info TESTS after is ${TESTS})
VPATH += ../../test/
diff --git a/src/usr/fapi2/test/fapi2Test.mk b/src/usr/fapi2/test/fapi2Test.mk
index 3a4e4c7e4..e87f1a3ab 100644
--- a/src/usr/fapi2/test/fapi2Test.mk
+++ b/src/usr/fapi2/test/fapi2Test.mk
@@ -48,7 +48,6 @@ OBJS += fapi2TestUtils.o
OBJS += getVpdTest.o
OBJS += p9_pm_get_poundv_bucket.o
-TESTS += ${ROOTPATH}/src/usr/fapi2/test/*Test.H
-TESTS += ${ROOTPATH}/src/usr/fapi2/test/*TestCxx.H
+TESTS += ${shell find ${ROOTPATH}/src/usr/fapi2/test/ | sort | grep -e "Test.H" -e "TestCxx.H" | xargs}
VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/pm/
OpenPOWER on IntegriCloud