summaryrefslogtreecommitdiffstats
path: root/src/test/testcases/testFlushNVDIMM.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testcases/testFlushNVDIMM.py')
-rwxr-xr-xsrc/test/testcases/testFlushNVDIMM.py24
1 files changed, 18 insertions, 6 deletions
diff --git a/src/test/testcases/testFlushNVDIMM.py b/src/test/testcases/testFlushNVDIMM.py
index 3350bd77..a7d6ca17 100755
--- a/src/test/testcases/testFlushNVDIMM.py
+++ b/src/test/testcases/testFlushNVDIMM.py
@@ -6,6 +6,7 @@
# OpenPOWER sbe Project
#
# Contributors Listed Below - COPYRIGHT 2017,2019
+# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,6 +25,7 @@
import sys
sys.path.append("targets/p9_nimbus/sbeTest" )
+sys.path.append("targets/p9_axone/sbeTest" )
import testUtil
err = False
@@ -47,12 +49,22 @@ def main( ):
#-------------------------------------------------
# Calling all test code
#-------------------------------------------------
-main()
+if testUtil.getMachineName() == "axone":
+ try:
+ main()
+ except:
+ print ( "\nTest Suite completed with error(s)" )
+ testUtil.collectFFDC()
+ raise()
-if err:
- print ("\nTest Suite completed with error(s)")
- #sys.exit(1)
+ print ( "\nTest Suite completed with no errors" )
else:
- print ("\nTest Suite completed with no errors")
- #sys.exit(0);
+ main()
+
+ if err:
+ print ("\nTest Suite completed with error(s)")
+ #sys.exit(1)
+ else:
+ print ("\nTest Suite completed with no errors")
+ #sys.exit(0);
OpenPOWER on IntegriCloud