summaryrefslogtreecommitdiffstats
path: root/src/test/testcases/testTraceArray.py
diff options
context:
space:
mode:
authorSunil Kumar <skumar8j@in.ibm.com>2018-11-15 00:20:34 -0600
committerRAJA DAS <rajadas2@in.ibm.com>2019-05-30 05:41:21 -0500
commit01030a212c0793d0f8c84c8ff187fe7db0e07df7 (patch)
tree5a639dc63b6c7cd5a372b0856e8be02724bdc221 /src/test/testcases/testTraceArray.py
parent28c54880dd080a0baa1540246effd7c49a499c82 (diff)
downloadtalos-sbe-01030a212c0793d0f8c84c8ff187fe7db0e07df7.tar.gz
talos-sbe-01030a212c0793d0f8c84c8ff187fe7db0e07df7.zip
AXONE Bringup CI
Change-Id: I611879498fe0b728547209716cecf6d940a9a820 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72837 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Diffstat (limited to 'src/test/testcases/testTraceArray.py')
-rw-r--r--src/test/testcases/testTraceArray.py24
1 files changed, 17 insertions, 7 deletions
diff --git a/src/test/testcases/testTraceArray.py b/src/test/testcases/testTraceArray.py
index eb6c67d7..030719e4 100644
--- a/src/test/testcases/testTraceArray.py
+++ b/src/test/testcases/testTraceArray.py
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016,2017
+# Contributors Listed Below - COPYRIGHT 2016,2019
# [+] International Business Machines Corp.
#
#
@@ -89,11 +89,21 @@ 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