diff options
Diffstat (limited to 'src/test/testcases/testExecutorPutRing.py')
-rw-r--r-- | src/test/testcases/testExecutorPutRing.py | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/test/testcases/testExecutorPutRing.py b/src/test/testcases/testExecutorPutRing.py index db5f8769..4585d7f5 100644 --- a/src/test/testcases/testExecutorPutRing.py +++ b/src/test/testcases/testExecutorPutRing.py @@ -6,7 +6,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2016 +# Contributors Listed Below - COPYRIGHT 2016,2019 # [+] International Business Machines Corp. # # @@ -217,12 +217,22 @@ def main(): regObj.ExecuteTestOp( testPSUUtil.simSbeObj, host_test_data_failure5 ) if __name__ == "__main__": - main() - if err: - print ( "\nTest Suite completed with error(s)" ) - #sys.exit(1) + 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: - 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); |