summaryrefslogtreecommitdiffstats
path: root/src/test/testcases/testGetCapabilities.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testcases/testGetCapabilities.py')
-rwxr-xr-xsrc/test/testcases/testGetCapabilities.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/testcases/testGetCapabilities.py b/src/test/testcases/testGetCapabilities.py
index f6aedcec..ed451cfa 100755
--- a/src/test/testcases/testGetCapabilities.py
+++ b/src/test/testcases/testGetCapabilities.py
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2015,2019
+# Contributors Listed Below - COPYRIGHT 2015,2020
# [+] International Business Machines Corp.
#
#
@@ -22,6 +22,7 @@
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
+from __future__ import print_function
import sys
sys.path.append("targets/p9_nimbus/sbeTest" )
sys.path.append("targets/p9_axone/sbeTest" )
@@ -62,6 +63,9 @@ EXPDATA3 = [0xa8,0x0,0x0,0x03, #getcapability/getSbeFFDC/quiesce
#-------------------------------------------------
def main( ):
( rc, out ) = quiet_run_command( "sbe-ddlevel 0", output_modes.regular )
+ if(rc == "DD1"):
+ print("Not running Get Capabilities on DD1")
+ return
testUtil.runCycles( 10000000 )
testUtil.writeUsFifo( TESTDATA )
testUtil.writeEot( )
OpenPOWER on IntegriCloud