From 38a502a410c3e16bb3289790a5195b7b164b4e45 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 23 Nov 2013 15:08:28 -0800 Subject: [PATCH] * 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. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.python/python.exp | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 37537bca473..ee8dfefb8a0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-11-23 Doug Evans + + * 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. + 2013-11-22 Pedro Alves * gdb.dwarf2/dw2-bad-cfi.S: Rename to ... diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index b0faf9abe3f..69ba900c9d7 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" -- 2.30.2