aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2013-11-23 15:08:28 -0800
committerDoug Evans <xdje42@gmail.com>2013-11-23 15:08:28 -0800
commit38a502a410c3e16bb3289790a5195b7b164b4e45 (patch)
tree4de3bcbdc5c17feb2f3048ccebfbaad50aa97778 /gdb/testsuite/gdb.python
parent1fd4d43dbed7d1de0597107269d3c6fe4a37e8e3 (diff)
downloadgdb-38a502a410c3e16bb3289790a5195b7b164b4e45.zip
gdb-38a502a410c3e16bb3289790a5195b7b164b4e45.tar.gz
gdb-38a502a410c3e16bb3289790a5195b7b164b4e45.tar.bz2
* gdb.python/python.exp: Don't call skip_python_tests, we still want
to test some things in the case where python is not configured in.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/python.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp
index b0faf9a..69ba900 100644
--- a/gdb/testsuite/gdb.python/python.exp
+++ b/gdb/testsuite/gdb.python/python.exp
@@ -30,9 +30,8 @@ gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
-# Skip all tests if Python scripting is not enabled.
-if { [skip_python_tests] } { continue }
-
+# Do this instead of the skip_python_check.
+# We want to do some tests when Python is not present.
gdb_test_multiple "python print (23)" "verify python support" {
-re "not supported.*$gdb_prompt $" {
unsupported "python support is disabled"