aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-frame-args.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-frame-args.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-frame-args.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/py-frame-args.exp b/gdb/testsuite/gdb.python/py-frame-args.exp
index 2ecc80d..091e26d 100644
--- a/gdb/testsuite/gdb.python/py-frame-args.exp
+++ b/gdb/testsuite/gdb.python/py-frame-args.exp
@@ -15,13 +15,12 @@
standard_testfile
+require !skip_python_tests
+
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
return -1
}
-# Skip all tests if Python scripting is not enabled.
-if { [skip_python_tests] } { continue }
-
if ![runto_main] {
return -1
}