From 79749205e72ace5dbec6f797b334c842dab1a45c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 7 Jan 2023 12:18:59 -0700 Subject: Use "require" for Python tests This changes various tests to use "require" for the Python feature. --- gdb/testsuite/gdb.python/py-xmethods.exp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gdb/testsuite/gdb.python/py-xmethods.exp') diff --git a/gdb/testsuite/gdb.python/py-xmethods.exp b/gdb/testsuite/gdb.python/py-xmethods.exp index 8db5c39..6a9e5f2 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 !skip_cplus_tests +require !skip_cplus_tests !skip_python_tests standard_testfile py-xmethods.cc @@ -26,12 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} { return -1 } -# Skip all tests if Python scripting is not enabled. -if { [skip_python_tests] } { - untested "skipping Python tests" - return -} - if ![runto_main] { return -1 } -- cgit v1.1