Use "require" for Python tests

This changes various tests to use "require" for the Python feature.
This commit is contained in:
Tom Tromey
2023-01-07 12:18:59 -07:00
parent d394684d55
commit 79749205e7
100 changed files with 170 additions and 374 deletions

View File

@ -15,13 +15,12 @@
standard_testfile
require !skip_python_tests
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
return -1
}
# Skip all tests if Python scripting is not enabled.
if { [skip_python_tests] } { continue }
if ![runto tick_tock] {
return -1
}