diff options
author | Sunil Kumar <skumar8j@in.ibm.com> | 2018-11-15 00:20:34 -0600 |
---|---|---|
committer | RAJA DAS <rajadas2@in.ibm.com> | 2019-05-30 05:41:21 -0500 |
commit | 01030a212c0793d0f8c84c8ff187fe7db0e07df7 (patch) | |
tree | 5a639dc63b6c7cd5a372b0856e8be02724bdc221 /src/test/testcases/testContinueMpipl.py | |
parent | 28c54880dd080a0baa1540246effd7c49a499c82 (diff) | |
download | talos-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/testContinueMpipl.py')
-rwxr-xr-x | src/test/testcases/testContinueMpipl.py | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/test/testcases/testContinueMpipl.py b/src/test/testcases/testContinueMpipl.py index bb79d0e2..3257811e 100755 --- a/src/test/testcases/testContinueMpipl.py +++ b/src/test/testcases/testContinueMpipl.py @@ -5,7 +5,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2016 +# Contributors Listed Below - COPYRIGHT 2016,2019 # [+] International Business Machines Corp. # # @@ -24,6 +24,7 @@ # IBM_PROLOG_END_TAG import sys sys.path.append("targets/p9_nimbus/sbeTest" ) +sys.path.append("targets/p9_axone/sbeTest" ) import testUtil err = False @@ -47,12 +48,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); |