diff options
Diffstat (limited to 'src/test/testcases/testAduMem_noEccNoItag.py')
-rw-r--r-- | src/test/testcases/testAduMem_noEccNoItag.py | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/test/testcases/testAduMem_noEccNoItag.py b/src/test/testcases/testAduMem_noEccNoItag.py index 2d54334c..b4350561 100644 --- a/src/test/testcases/testAduMem_noEccNoItag.py +++ b/src/test/testcases/testAduMem_noEccNoItag.py @@ -5,7 +5,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2016,2018 +# Contributors Listed Below - COPYRIGHT 2016,2019 # [+] International Business Machines Corp. # # @@ -26,6 +26,7 @@ import sys import os import struct sys.path.append("targets/p9_nimbus/sbeTest" ) +sys.path.append("targets/p9_axone/sbeTest" ) import testUtil import testMemUtil as testMemProcUtil err = False @@ -81,12 +82,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); |