diff options
Diffstat (limited to 'gdb/testsuite/gdb.python')
93 files changed, 93 insertions, 93 deletions
diff --git a/gdb/testsuite/gdb.python/compare-enum-type.exp b/gdb/testsuite/gdb.python/compare-enum-type.exp index 0cc6bd9..8a899e7 100644 --- a/gdb/testsuite/gdb.python/compare-enum-type.exp +++ b/gdb/testsuite/gdb.python/compare-enum-type.exp @@ -17,7 +17,7 @@ standard_testfile -a.c -b.c -require !skip_python_tests +require allow_python_tests if { [prepare_for_testing "failed to prepare" "compare-enum-type" \ [list $srcfile $srcfile2]] } { diff --git a/gdb/testsuite/gdb.python/flexible-array-member.exp b/gdb/testsuite/gdb.python/flexible-array-member.exp index 23f1da0..7849c13 100644 --- a/gdb/testsuite/gdb.python/flexible-array-member.exp +++ b/gdb/testsuite/gdb.python/flexible-array-member.exp @@ -17,7 +17,7 @@ standard_testfile -require !skip_python_tests +require allow_python_tests if { [prepare_for_testing "failed to prepare" \ ${testfile} ${srcfile}] } { diff --git a/gdb/testsuite/gdb.python/lib-types.exp b/gdb/testsuite/gdb.python/lib-types.exp index 92359c9..21ed23f 100644 --- a/gdb/testsuite/gdb.python/lib-types.exp +++ b/gdb/testsuite/gdb.python/lib-types.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile .cc diff --git a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp index 64414a3..7ab2b1f 100644 --- a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp +++ b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp @@ -19,7 +19,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-arch-reg-groups.exp b/gdb/testsuite/gdb.python/py-arch-reg-groups.exp index 5a0077d..2ba7c9c 100644 --- a/gdb/testsuite/gdb.python/py-arch-reg-groups.exp +++ b/gdb/testsuite/gdb.python/py-arch-reg-groups.exp @@ -16,7 +16,7 @@ # Check the gdb.Architecture.register_groups functionality. load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile py-arch.c if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { diff --git a/gdb/testsuite/gdb.python/py-arch-reg-names.exp b/gdb/testsuite/gdb.python/py-arch-reg-names.exp index 73e4140..ff7a124 100644 --- a/gdb/testsuite/gdb.python/py-arch-reg-names.exp +++ b/gdb/testsuite/gdb.python/py-arch-reg-names.exp @@ -16,7 +16,7 @@ # Check the gdb.Architecture.registers functionality. load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile py-arch.c if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { diff --git a/gdb/testsuite/gdb.python/py-arch.exp b/gdb/testsuite/gdb.python/py-arch.exp index 449613b..4f4b4aa 100644 --- a/gdb/testsuite/gdb.python/py-arch.exp +++ b/gdb/testsuite/gdb.python/py-arch.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { diff --git a/gdb/testsuite/gdb.python/py-as-string.exp b/gdb/testsuite/gdb.python/py-as-string.exp index 8bf248a..9c0503e 100644 --- a/gdb/testsuite/gdb.python/py-as-string.exp +++ b/gdb/testsuite/gdb.python/py-as-string.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-auto-load-chaining.exp b/gdb/testsuite/gdb.python/py-auto-load-chaining.exp index aac6eb3..dbe9a67 100644 --- a/gdb/testsuite/gdb.python/py-auto-load-chaining.exp +++ b/gdb/testsuite/gdb.python/py-auto-load-chaining.exp @@ -19,7 +19,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile .c -f1.c -f2.c diff --git a/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp b/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp index a67ae48..2217e2e 100644 --- a/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp +++ b/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp @@ -19,7 +19,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile -main.cc diff --git a/gdb/testsuite/gdb.python/py-bad-printers.exp b/gdb/testsuite/gdb.python/py-bad-printers.exp index 26e6a97..7f53278 100644 --- a/gdb/testsuite/gdb.python/py-bad-printers.exp +++ b/gdb/testsuite/gdb.python/py-bad-printers.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-block.exp b/gdb/testsuite/gdb.python/py-block.exp index 90c3b4d..3bdf972 100644 --- a/gdb/testsuite/gdb.python/py-block.exp +++ b/gdb/testsuite/gdb.python/py-block.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-bp-locations.exp b/gdb/testsuite/gdb.python/py-bp-locations.exp index 55aca67..f8649f6 100644 --- a/gdb/testsuite/gdb.python/py-bp-locations.exp +++ b/gdb/testsuite/gdb.python/py-bp-locations.exp @@ -15,7 +15,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp b/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp index 6c1a262..a3b0c3f 100644 --- a/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp +++ b/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-breakpoint.exp b/gdb/testsuite/gdb.python/py-breakpoint.exp index a3a8512..bee2cea 100644 --- a/gdb/testsuite/gdb.python/py-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-breakpoint.exp @@ -26,7 +26,7 @@ set allow_hw_watchpoint_tests_p [allow_hw_watchpoint_tests] load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-caller-is.exp b/gdb/testsuite/gdb.python/py-caller-is.exp index 66e0ce5..8acf8ff 100644 --- a/gdb/testsuite/gdb.python/py-caller-is.exp +++ b/gdb/testsuite/gdb.python/py-caller-is.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-charset.exp b/gdb/testsuite/gdb.python/py-charset.exp index 9e83195..bc61f74 100644 --- a/gdb/testsuite/gdb.python/py-charset.exp +++ b/gdb/testsuite/gdb.python/py-charset.exp @@ -15,7 +15,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests gdb_exit gdb_start diff --git a/gdb/testsuite/gdb.python/py-cmd.exp b/gdb/testsuite/gdb.python/py-cmd.exp index 0eb785f..016ea44 100644 --- a/gdb/testsuite/gdb.python/py-cmd.exp +++ b/gdb/testsuite/gdb.python/py-cmd.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-completion.exp b/gdb/testsuite/gdb.python/py-completion.exp index bf1abf3..b3acebf 100644 --- a/gdb/testsuite/gdb.python/py-completion.exp +++ b/gdb/testsuite/gdb.python/py-completion.exp @@ -17,7 +17,7 @@ set testfile "py-completion" load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests set pyfile [gdb_remote_download host ${srcdir}/${subdir}/${testfile}.py] set discard 0 diff --git a/gdb/testsuite/gdb.python/py-connection-removed.exp b/gdb/testsuite/gdb.python/py-connection-removed.exp index efbcf46..afae0a7 100644 --- a/gdb/testsuite/gdb.python/py-connection-removed.exp +++ b/gdb/testsuite/gdb.python/py-connection-removed.exp @@ -25,7 +25,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile py-connection.c diff --git a/gdb/testsuite/gdb.python/py-connection.exp b/gdb/testsuite/gdb.python/py-connection.exp index 78710fd..b1a8d69 100644 --- a/gdb/testsuite/gdb.python/py-connection.exp +++ b/gdb/testsuite/gdb.python/py-connection.exp @@ -20,7 +20,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-disasm.exp b/gdb/testsuite/gdb.python/py-disasm.exp index 57f8fdf..38a2b76 100644 --- a/gdb/testsuite/gdb.python/py-disasm.exp +++ b/gdb/testsuite/gdb.python/py-disasm.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-doc-reformat.exp b/gdb/testsuite/gdb.python/py-doc-reformat.exp index 3829873..63079e7 100644 --- a/gdb/testsuite/gdb.python/py-doc-reformat.exp +++ b/gdb/testsuite/gdb.python/py-doc-reformat.exp @@ -19,7 +19,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests clean_restart diff --git a/gdb/testsuite/gdb.python/py-error.exp b/gdb/testsuite/gdb.python/py-error.exp index 0a8fd19..230c827 100644 --- a/gdb/testsuite/gdb.python/py-error.exp +++ b/gdb/testsuite/gdb.python/py-error.exp @@ -20,7 +20,7 @@ set testfile "py-error" load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests # Start with a fresh gdb. gdb_exit diff --git a/gdb/testsuite/gdb.python/py-event-load.exp b/gdb/testsuite/gdb.python/py-event-load.exp index f363125..7dc47f1 100644 --- a/gdb/testsuite/gdb.python/py-event-load.exp +++ b/gdb/testsuite/gdb.python/py-event-load.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_shlib_tests !skip_python_tests +require !skip_shlib_tests allow_python_tests if {[get_compiler_info]} { warning "Could not get compiler info" diff --git a/gdb/testsuite/gdb.python/py-events.exp b/gdb/testsuite/gdb.python/py-events.exp index ea1a6f5..064a779 100644 --- a/gdb/testsuite/gdb.python/py-events.exp +++ b/gdb/testsuite/gdb.python/py-events.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -require !use_gdb_stub !skip_python_tests +require !use_gdb_stub allow_python_tests load_lib gdb-python.exp diff --git a/gdb/testsuite/gdb.python/py-evsignal.exp b/gdb/testsuite/gdb.python/py-evsignal.exp index 2f0e791..5eab7b2 100644 --- a/gdb/testsuite/gdb.python/py-evsignal.exp +++ b/gdb/testsuite/gdb.python/py-evsignal.exp @@ -22,7 +22,7 @@ if {[target_info gdb_protocol] == "remote" load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile py-evthreads.c diff --git a/gdb/testsuite/gdb.python/py-evthreads.exp b/gdb/testsuite/gdb.python/py-evthreads.exp index e993c6f..fcb069e 100644 --- a/gdb/testsuite/gdb.python/py-evthreads.exp +++ b/gdb/testsuite/gdb.python/py-evthreads.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -require support_displaced_stepping !skip_python_tests +require support_displaced_stepping allow_python_tests load_lib gdb-python.exp diff --git a/gdb/testsuite/gdb.python/py-explore-cc.exp b/gdb/testsuite/gdb.python/py-explore-cc.exp index a467e84..04aa06c 100644 --- a/gdb/testsuite/gdb.python/py-explore-cc.exp +++ b/gdb/testsuite/gdb.python/py-explore-cc.exp @@ -16,7 +16,7 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing values to Python. -require allow_cplus_tests !skip_python_tests +require allow_cplus_tests allow_python_tests standard_testfile py-explore.cc diff --git a/gdb/testsuite/gdb.python/py-explore.exp b/gdb/testsuite/gdb.python/py-explore.exp index dd36740..0536532 100644 --- a/gdb/testsuite/gdb.python/py-explore.exp +++ b/gdb/testsuite/gdb.python/py-explore.exp @@ -15,7 +15,7 @@ standard_testfile -require !skip_python_tests +require allow_python_tests if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { return -1 diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint-deletion.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint-deletion.exp index d414268..202173d 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint-deletion.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint-deletion.exp @@ -17,7 +17,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp index d37508c..9e5a0a6 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp @@ -16,7 +16,7 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing values to Python. -require !skip_shlib_tests !skip_python_tests +require !skip_shlib_tests allow_python_tests load_lib gdb-python.exp diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp index 3000205..66587b8 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile .cc diff --git a/gdb/testsuite/gdb.python/py-format-address.exp b/gdb/testsuite/gdb.python/py-format-address.exp index d9fed3f..48de1c8 100644 --- a/gdb/testsuite/gdb.python/py-format-address.exp +++ b/gdb/testsuite/gdb.python/py-format-address.exp @@ -14,7 +14,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile foreach func_name { foo bar } { diff --git a/gdb/testsuite/gdb.python/py-format-string.exp b/gdb/testsuite/gdb.python/py-format-string.exp index 30a57b2..122130d 100644 --- a/gdb/testsuite/gdb.python/py-format-string.exp +++ b/gdb/testsuite/gdb.python/py-format-string.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-frame-args.exp b/gdb/testsuite/gdb.python/py-frame-args.exp index 091e26d..5c099e0 100644 --- a/gdb/testsuite/gdb.python/py-frame-args.exp +++ b/gdb/testsuite/gdb.python/py-frame-args.exp @@ -15,7 +15,7 @@ standard_testfile -require !skip_python_tests +require allow_python_tests if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { return -1 diff --git a/gdb/testsuite/gdb.python/py-frame-inline.exp b/gdb/testsuite/gdb.python/py-frame-inline.exp index 719ec18..5fb3361 100644 --- a/gdb/testsuite/gdb.python/py-frame-inline.exp +++ b/gdb/testsuite/gdb.python/py-frame-inline.exp @@ -15,7 +15,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-frame.exp b/gdb/testsuite/gdb.python/py-frame.exp index f17e2f9..5aebb6b 100644 --- a/gdb/testsuite/gdb.python/py-frame.exp +++ b/gdb/testsuite/gdb.python/py-frame.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-framefilter-addr.exp b/gdb/testsuite/gdb.python/py-framefilter-addr.exp index 5dad3bd..3bb759b 100644 --- a/gdb/testsuite/gdb.python/py-framefilter-addr.exp +++ b/gdb/testsuite/gdb.python/py-framefilter-addr.exp @@ -19,7 +19,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-framefilter-invalidarg.exp b/gdb/testsuite/gdb.python/py-framefilter-invalidarg.exp index 86a830d..d2c29af 100644 --- a/gdb/testsuite/gdb.python/py-framefilter-invalidarg.exp +++ b/gdb/testsuite/gdb.python/py-framefilter-invalidarg.exp @@ -15,7 +15,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile amd64-py-framefilter-invalidarg.S diff --git a/gdb/testsuite/gdb.python/py-framefilter.exp b/gdb/testsuite/gdb.python/py-framefilter.exp index 81101c1..6897518 100644 --- a/gdb/testsuite/gdb.python/py-framefilter.exp +++ b/gdb/testsuite/gdb.python/py-framefilter.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-function.exp b/gdb/testsuite/gdb.python/py-function.exp index 7c48f7a..25b83a7 100644 --- a/gdb/testsuite/gdb.python/py-function.exp +++ b/gdb/testsuite/gdb.python/py-function.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests # Start with a fresh gdb. diff --git a/gdb/testsuite/gdb.python/py-inferior-leak.exp b/gdb/testsuite/gdb.python/py-inferior-leak.exp index 4e2fa64..b0456de 100644 --- a/gdb/testsuite/gdb.python/py-inferior-leak.exp +++ b/gdb/testsuite/gdb.python/py-inferior-leak.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-inferior.exp b/gdb/testsuite/gdb.python/py-inferior.exp index 0286d82..424050a 100644 --- a/gdb/testsuite/gdb.python/py-inferior.exp +++ b/gdb/testsuite/gdb.python/py-inferior.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-infthread.exp b/gdb/testsuite/gdb.python/py-infthread.exp index 47c6b19..0b10ce9 100644 --- a/gdb/testsuite/gdb.python/py-infthread.exp +++ b/gdb/testsuite/gdb.python/py-infthread.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-label-symbol-value.exp b/gdb/testsuite/gdb.python/py-label-symbol-value.exp index f3e91b7..b781eec 100644 --- a/gdb/testsuite/gdb.python/py-label-symbol-value.exp +++ b/gdb/testsuite/gdb.python/py-label-symbol-value.exp @@ -17,7 +17,7 @@ # symbol (i.e. a symbol for a goto label). load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { diff --git a/gdb/testsuite/gdb.python/py-lazy-string.exp b/gdb/testsuite/gdb.python/py-lazy-string.exp index 9f3bad5..522530c 100644 --- a/gdb/testsuite/gdb.python/py-lazy-string.exp +++ b/gdb/testsuite/gdb.python/py-lazy-string.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-linetable.exp b/gdb/testsuite/gdb.python/py-linetable.exp index ff43821..d19516d 100644 --- a/gdb/testsuite/gdb.python/py-linetable.exp +++ b/gdb/testsuite/gdb.python/py-linetable.exp @@ -14,7 +14,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests set opts {} standard_testfile .S diff --git a/gdb/testsuite/gdb.python/py-lookup-type.exp b/gdb/testsuite/gdb.python/py-lookup-type.exp index 7527c13..c914ea1 100644 --- a/gdb/testsuite/gdb.python/py-lookup-type.exp +++ b/gdb/testsuite/gdb.python/py-lookup-type.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests # Note that the purpose of this testcase is to test the behavior # of gdb.lookup_type searching for the primitive types internally diff --git a/gdb/testsuite/gdb.python/py-mi-events.exp b/gdb/testsuite/gdb.python/py-mi-events.exp index 4ed3405..cc417d4 100644 --- a/gdb/testsuite/gdb.python/py-mi-events.exp +++ b/gdb/testsuite/gdb.python/py-mi-events.exp @@ -18,7 +18,7 @@ load_lib mi-support.exp set MIFLAGS "-i=mi2" -require !skip_python_tests +require allow_python_tests gdb_exit if [mi_gdb_start] { diff --git a/gdb/testsuite/gdb.python/py-mi-objfile.exp b/gdb/testsuite/gdb.python/py-mi-objfile.exp index 1b25862..bc02da2 100644 --- a/gdb/testsuite/gdb.python/py-mi-objfile.exp +++ b/gdb/testsuite/gdb.python/py-mi-objfile.exp @@ -18,7 +18,7 @@ load_lib mi-support.exp set MIFLAGS "-i=mi2" -require !skip_python_tests +require allow_python_tests gdb_exit if [mi_gdb_start] { diff --git a/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.exp b/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.exp index b618b08..df5fc08 100644 --- a/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.exp +++ b/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.exp @@ -18,7 +18,7 @@ load_lib mi-support.exp set MIFLAGS "-i=mi" -require !skip_python_tests +require allow_python_tests # # Start here diff --git a/gdb/testsuite/gdb.python/py-nested-maps.exp b/gdb/testsuite/gdb.python/py-nested-maps.exp index 76e38c2..3dfdcf6 100644 --- a/gdb/testsuite/gdb.python/py-nested-maps.exp +++ b/gdb/testsuite/gdb.python/py-nested-maps.exp @@ -19,7 +19,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-objfile-script.exp b/gdb/testsuite/gdb.python/py-objfile-script.exp index 550a684..80ccb51 100644 --- a/gdb/testsuite/gdb.python/py-objfile-script.exp +++ b/gdb/testsuite/gdb.python/py-objfile-script.exp @@ -18,7 +18,7 @@ standard_testfile -require !skip_python_tests +require allow_python_tests if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} { return -1 diff --git a/gdb/testsuite/gdb.python/py-objfile.exp b/gdb/testsuite/gdb.python/py-objfile.exp index cf9d5ae..61b9942 100644 --- a/gdb/testsuite/gdb.python/py-objfile.exp +++ b/gdb/testsuite/gdb.python/py-objfile.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-parameter.exp b/gdb/testsuite/gdb.python/py-parameter.exp index ab99817..e6a26dd 100644 --- a/gdb/testsuite/gdb.python/py-parameter.exp +++ b/gdb/testsuite/gdb.python/py-parameter.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests # Start with a fresh gdb. clean_restart diff --git a/gdb/testsuite/gdb.python/py-pending-frame-level.exp b/gdb/testsuite/gdb.python/py-pending-frame-level.exp index b83eaa3..54db88d 100644 --- a/gdb/testsuite/gdb.python/py-pending-frame-level.exp +++ b/gdb/testsuite/gdb.python/py-pending-frame-level.exp @@ -17,7 +17,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-pp-integral.exp b/gdb/testsuite/gdb.python/py-pp-integral.exp index 3fa2476..55b6a90 100644 --- a/gdb/testsuite/gdb.python/py-pp-integral.exp +++ b/gdb/testsuite/gdb.python/py-pp-integral.exp @@ -15,7 +15,7 @@ standard_testfile -require !skip_python_tests +require allow_python_tests if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { return -1 diff --git a/gdb/testsuite/gdb.python/py-pp-maint.exp b/gdb/testsuite/gdb.python/py-pp-maint.exp index 5e6f23a..5e5b803 100644 --- a/gdb/testsuite/gdb.python/py-pp-maint.exp +++ b/gdb/testsuite/gdb.python/py-pp-maint.exp @@ -23,7 +23,7 @@ if [is_remote host] { load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-pp-re-notag.exp b/gdb/testsuite/gdb.python/py-pp-re-notag.exp index 3fa2476..55b6a90 100644 --- a/gdb/testsuite/gdb.python/py-pp-re-notag.exp +++ b/gdb/testsuite/gdb.python/py-pp-re-notag.exp @@ -15,7 +15,7 @@ standard_testfile -require !skip_python_tests +require allow_python_tests if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { return -1 diff --git a/gdb/testsuite/gdb.python/py-pp-registration.exp b/gdb/testsuite/gdb.python/py-pp-registration.exp index c85fc4a..6b4f760 100644 --- a/gdb/testsuite/gdb.python/py-pp-registration.exp +++ b/gdb/testsuite/gdb.python/py-pp-registration.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp index 8166e11..674a4ed 100644 --- a/gdb/testsuite/gdb.python/py-prettyprint.exp +++ b/gdb/testsuite/gdb.python/py-prettyprint.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-progspace.exp b/gdb/testsuite/gdb.python/py-progspace.exp index 23b328a..c7be948 100644 --- a/gdb/testsuite/gdb.python/py-progspace.exp +++ b/gdb/testsuite/gdb.python/py-progspace.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-prompt.exp b/gdb/testsuite/gdb.python/py-prompt.exp index 56a0b47..b562893 100644 --- a/gdb/testsuite/gdb.python/py-prompt.exp +++ b/gdb/testsuite/gdb.python/py-prompt.exp @@ -21,7 +21,7 @@ standard_testfile load_lib gdb-python.exp load_lib prompt.exp -require !skip_python_tests +require allow_python_tests if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} { return -1 diff --git a/gdb/testsuite/gdb.python/py-rbreak.exp b/gdb/testsuite/gdb.python/py-rbreak.exp index 6c5f77e..43e13cd 100644 --- a/gdb/testsuite/gdb.python/py-rbreak.exp +++ b/gdb/testsuite/gdb.python/py-rbreak.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile py-rbreak.c py-rbreak-func2.c diff --git a/gdb/testsuite/gdb.python/py-record-btrace-threads.exp b/gdb/testsuite/gdb.python/py-record-btrace-threads.exp index ca95527..19382d7 100644 --- a/gdb/testsuite/gdb.python/py-record-btrace-threads.exp +++ b/gdb/testsuite/gdb.python/py-record-btrace-threads.exp @@ -17,7 +17,7 @@ load_lib gdb-python.exp -require allow_btrace_tests !skip_python_tests +require allow_btrace_tests allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-record-btrace.exp b/gdb/testsuite/gdb.python/py-record-btrace.exp index 1b9824e..555b70a 100644 --- a/gdb/testsuite/gdb.python/py-record-btrace.exp +++ b/gdb/testsuite/gdb.python/py-record-btrace.exp @@ -17,7 +17,7 @@ # Skip this test if btrace is disabled. -require allow_btrace_tests !skip_python_tests +require allow_btrace_tests allow_python_tests load_lib gdb-python.exp diff --git a/gdb/testsuite/gdb.python/py-record-full.exp b/gdb/testsuite/gdb.python/py-record-full.exp index eb40d51..3c03bb4 100644 --- a/gdb/testsuite/gdb.python/py-record-full.exp +++ b/gdb/testsuite/gdb.python/py-record-full.exp @@ -17,7 +17,7 @@ # Skip this test if target does not support recording. -require supports_process_record !skip_python_tests +require supports_process_record allow_python_tests load_lib gdb-python.exp diff --git a/gdb/testsuite/gdb.python/py-recurse-unwind.exp b/gdb/testsuite/gdb.python/py-recurse-unwind.exp index 498443e..1f12e55 100644 --- a/gdb/testsuite/gdb.python/py-recurse-unwind.exp +++ b/gdb/testsuite/gdb.python/py-recurse-unwind.exp @@ -24,7 +24,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp b/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp index aeb3f9c..d91912f 100644 --- a/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp +++ b/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp @@ -17,7 +17,7 @@ # exposing rvalue reference values to Python. It is based on # gdb.python/py-value-cc.exp. -require allow_cplus_tests !skip_python_tests +require allow_cplus_tests allow_python_tests standard_testfile .cc diff --git a/gdb/testsuite/gdb.python/py-section-script.exp b/gdb/testsuite/gdb.python/py-section-script.exp index 96dafdb..24d2074 100644 --- a/gdb/testsuite/gdb.python/py-section-script.exp +++ b/gdb/testsuite/gdb.python/py-section-script.exp @@ -28,7 +28,7 @@ if {![istarget *-*-linux*] return } -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-send-packet.exp b/gdb/testsuite/gdb.python/py-send-packet.exp index 75e7bb6..e48d08a 100644 --- a/gdb/testsuite/gdb.python/py-send-packet.exp +++ b/gdb/testsuite/gdb.python/py-send-packet.exp @@ -24,7 +24,7 @@ load_lib gdbserver-support.exp standard_testfile -require allow_gdbserver_tests !skip_python_tests +require allow_gdbserver_tests allow_python_tests if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { return -1 diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp index fdec1df..bd5f9a1 100644 --- a/gdb/testsuite/gdb.python/py-shared.exp +++ b/gdb/testsuite/gdb.python/py-shared.exp @@ -17,7 +17,7 @@ load_lib gdb-python.exp -require !skip_shlib_tests !skip_python_tests +require !skip_shlib_tests allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-source-styling.exp b/gdb/testsuite/gdb.python/py-source-styling.exp index 8a22b7f..f92d6f7 100644 --- a/gdb/testsuite/gdb.python/py-source-styling.exp +++ b/gdb/testsuite/gdb.python/py-source-styling.exp @@ -31,7 +31,7 @@ save_vars { env(TERM) } { return -1 } - if { [skip_python_tests] } { continue } + if { ![allow_python_tests] } { continue } if { ![gdb_py_module_available "pygments"] } { unsupported "pygments module not available" diff --git a/gdb/testsuite/gdb.python/py-startup-opt.exp b/gdb/testsuite/gdb.python/py-startup-opt.exp index 2d9fd2a..08d1c79 100644 --- a/gdb/testsuite/gdb.python/py-startup-opt.exp +++ b/gdb/testsuite/gdb.python/py-startup-opt.exp @@ -16,7 +16,7 @@ # Test the flags within GDB that can be used to control how Python is # initialized. -require !skip_python_tests +require allow_python_tests # Return a list containing two directory paths for newly created home # directories. diff --git a/gdb/testsuite/gdb.python/py-strfns.exp b/gdb/testsuite/gdb.python/py-strfns.exp index 162e102..2f30e54 100644 --- a/gdb/testsuite/gdb.python/py-strfns.exp +++ b/gdb/testsuite/gdb.python/py-strfns.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-symbol.exp b/gdb/testsuite/gdb.python/py-symbol.exp index a0bf34d..9ec2f44 100644 --- a/gdb/testsuite/gdb.python/py-symbol.exp +++ b/gdb/testsuite/gdb.python/py-symbol.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile py-symbol.c py-symbol-2.c diff --git a/gdb/testsuite/gdb.python/py-symtab.exp b/gdb/testsuite/gdb.python/py-symtab.exp index 5b68524..b706cca 100644 --- a/gdb/testsuite/gdb.python/py-symtab.exp +++ b/gdb/testsuite/gdb.python/py-symtab.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile py-symbol.c diff --git a/gdb/testsuite/gdb.python/py-sync-interp.exp b/gdb/testsuite/gdb.python/py-sync-interp.exp index 1e994bf..665b956 100644 --- a/gdb/testsuite/gdb.python/py-sync-interp.exp +++ b/gdb/testsuite/gdb.python/py-sync-interp.exp @@ -20,7 +20,7 @@ standard_testfile -require can_spawn_for_attach !skip_python_tests +require can_spawn_for_attach allow_python_tests load_lib gdb-python.exp diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp index b337bfb..a89a813 100644 --- a/gdb/testsuite/gdb.python/py-template.exp +++ b/gdb/testsuite/gdb.python/py-template.exp @@ -16,7 +16,7 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing values to Python. -require allow_cplus_tests !skip_python_tests +require allow_cplus_tests allow_python_tests standard_testfile .cc if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ diff --git a/gdb/testsuite/gdb.python/py-thrhandle.exp b/gdb/testsuite/gdb.python/py-thrhandle.exp index 0806f89..e8004c7 100644 --- a/gdb/testsuite/gdb.python/py-thrhandle.exp +++ b/gdb/testsuite/gdb.python/py-thrhandle.exp @@ -21,7 +21,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-type.exp b/gdb/testsuite/gdb.python/py-type.exp index 31d50d2..e7837d7 100644 --- a/gdb/testsuite/gdb.python/py-type.exp +++ b/gdb/testsuite/gdb.python/py-type.exp @@ -351,7 +351,7 @@ if { [build_inferior "${binfile}" "c"] == 0 } { restart_gdb "${binfile}" # Skip all tests if Python scripting is not enabled. - if { [skip_python_tests] } { continue } + if { ![allow_python_tests] } { continue } gdb_test "python print (gdb.lookup_type ('char').objfile)" "None" diff --git a/gdb/testsuite/gdb.python/py-typeprint.exp b/gdb/testsuite/gdb.python/py-typeprint.exp index 219e852..40f7e53 100644 --- a/gdb/testsuite/gdb.python/py-typeprint.exp +++ b/gdb/testsuite/gdb.python/py-typeprint.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -require allow_cplus_tests !skip_python_tests +require allow_cplus_tests allow_python_tests load_lib gdb-python.exp load_lib cp-support.exp diff --git a/gdb/testsuite/gdb.python/py-unwind-inline.exp b/gdb/testsuite/gdb.python/py-unwind-inline.exp index c0dc7f2..e75b060 100644 --- a/gdb/testsuite/gdb.python/py-unwind-inline.exp +++ b/gdb/testsuite/gdb.python/py-unwind-inline.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-unwind-maint.exp b/gdb/testsuite/gdb.python/py-unwind-maint.exp index 3fcbe4f..e226121 100644 --- a/gdb/testsuite/gdb.python/py-unwind-maint.exp +++ b/gdb/testsuite/gdb.python/py-unwind-maint.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-unwind-user-regs.exp b/gdb/testsuite/gdb.python/py-unwind-user-regs.exp index 1598f86..96692d6 100644 --- a/gdb/testsuite/gdb.python/py-unwind-user-regs.exp +++ b/gdb/testsuite/gdb.python/py-unwind-user-regs.exp @@ -38,7 +38,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-unwind.exp b/gdb/testsuite/gdb.python/py-unwind.exp index 2d279bf..0d81737 100644 --- a/gdb/testsuite/gdb.python/py-unwind.exp +++ b/gdb/testsuite/gdb.python/py-unwind.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-value-cc.exp b/gdb/testsuite/gdb.python/py-value-cc.exp index 69439e2..1ea10ad 100644 --- a/gdb/testsuite/gdb.python/py-value-cc.exp +++ b/gdb/testsuite/gdb.python/py-value-cc.exp @@ -16,7 +16,7 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing values to Python. -require allow_cplus_tests !skip_python_tests +require allow_cplus_tests allow_python_tests standard_testfile .cc diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 26ad72a..898208b 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests standard_testfile diff --git a/gdb/testsuite/gdb.python/py-xmethods.exp b/gdb/testsuite/gdb.python/py-xmethods.exp index c164fec..97d5604 100644 --- a/gdb/testsuite/gdb.python/py-xmethods.exp +++ b/gdb/testsuite/gdb.python/py-xmethods.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require allow_cplus_tests !skip_python_tests +require allow_cplus_tests allow_python_tests standard_testfile py-xmethods.cc diff --git a/gdb/testsuite/gdb.python/tui-window-disabled.exp b/gdb/testsuite/gdb.python/tui-window-disabled.exp index 6048654..36ecb0b 100644 --- a/gdb/testsuite/gdb.python/tui-window-disabled.exp +++ b/gdb/testsuite/gdb.python/tui-window-disabled.exp @@ -48,7 +48,7 @@ proc clean_restart_and_setup { prefix } { Term::clean_restart 24 80 $testfile # Skip all tests if Python scripting is not enabled. - if { [skip_python_tests] } { return 0 } + if { ![allow_python_tests] } { return 0 } # Now source the python script. gdb_test_no_output "source ${remote_python_file}" \ diff --git a/gdb/testsuite/gdb.python/tui-window-names.exp b/gdb/testsuite/gdb.python/tui-window-names.exp index 48f3c6b..125a5f5 100644 --- a/gdb/testsuite/gdb.python/tui-window-names.exp +++ b/gdb/testsuite/gdb.python/tui-window-names.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests tuiterm_env diff --git a/gdb/testsuite/gdb.python/tui-window.exp b/gdb/testsuite/gdb.python/tui-window.exp index 2f04155..529ed16 100644 --- a/gdb/testsuite/gdb.python/tui-window.exp +++ b/gdb/testsuite/gdb.python/tui-window.exp @@ -16,7 +16,7 @@ # Test a TUI window implemented in Python. load_lib gdb-python.exp -require !skip_python_tests +require allow_python_tests tuiterm_env # This test doesn't care about the inferior. |