aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/flexible-array-member.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/flexible-array-member.exp')
-rw-r--r--gdb/testsuite/gdb.python/flexible-array-member.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/flexible-array-member.exp b/gdb/testsuite/gdb.python/flexible-array-member.exp
index 3739c9a..349670c 100644
--- a/gdb/testsuite/gdb.python/flexible-array-member.exp
+++ b/gdb/testsuite/gdb.python/flexible-array-member.exp
@@ -22,6 +22,9 @@ if { [prepare_for_testing "failed to prepare" \
return
}
+# Skip all tests if Python scripting is not enabled.
+if { [skip_python_tests] } { continue }
+
if { ![runto break_here] } {
untested "could not run to break_here"
return