diff options
Diffstat (limited to 'src/test/testcases/testPSUGetCapabilities.py')
-rw-r--r-- | src/test/testcases/testPSUGetCapabilities.py | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/test/testcases/testPSUGetCapabilities.py b/src/test/testcases/testPSUGetCapabilities.py index 922eb80e..456ae306 100644 --- a/src/test/testcases/testPSUGetCapabilities.py +++ b/src/test/testcases/testPSUGetCapabilities.py @@ -27,6 +27,7 @@ import sys import os import struct sys.path.append("targets/p9_nimbus/sbeTest" ) +sys.path.append("targets/p9_axone/sbeTest" ) import testPSUUtil import testRegistry as reg import testUtil @@ -149,10 +150,20 @@ def main(): raise Exception('data mistmach') 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); |