summaryrefslogtreecommitdiffstats
path: root/src/test/testcases/testExecutorPSU.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testcases/testExecutorPSU.py')
-rw-r--r--src/test/testcases/testExecutorPSU.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/test/testcases/testExecutorPSU.py b/src/test/testcases/testExecutorPSU.py
index b201f4b6..c01287b4 100644
--- a/src/test/testcases/testExecutorPSU.py
+++ b/src/test/testcases/testExecutorPSU.py
@@ -6,7 +6,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2019
# [+] International Business Machines Corp.
#
#
@@ -39,6 +39,9 @@
import testPSUUtil
import testRegistry as reg
+sys.path.append("targets/p9_nimbus/sbeTest" )
+sys.path.append("targets/p9_axone/sbeTest" )
+import testUtil
#-------------------------------
# This is a Test Expected Data
@@ -137,5 +140,15 @@ def main():
print "\n"
if __name__=="__main__":
- main()
+ if testUtil.getMachineName() == "axone":
+ try:
+ main()
+ except:
+ print ( "\nTest Suite completed with error(s)" )
+ testUtil.collectFFDC()
+ raise()
+
+ print ( "\nTest Suite completed with no errors" )
+ else:
+ main()
OpenPOWER on IntegriCloud