[Skiboot] [PATCH] gard: Skip tests on FSP platform

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Aug 8 16:43:53 AEST 2019


gard is supported on OpenPower platform only. Skip gard
tests on FSP based system.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 external/gard/test/test-gard | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/external/gard/test/test-gard b/external/gard/test/test-gard
index 10da35156..e577e0c16 100755
--- a/external/gard/test/test-gard
+++ b/external/gard/test/test-gard
@@ -1,5 +1,10 @@
 #! /bin/sh
 
+
+if [ -d "/proc/device-tree/fsps" ] ; then
+	exit 0
+fi
+
 . test/test.sh
 
 run_tests "test/tests/*" "test/results"
-- 
2.14.3



More information about the Skiboot mailing list