diff options
Diffstat (limited to 'gdb/testsuite/gdb.python/py-lazy-string.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-lazy-string.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/py-lazy-string.exp b/gdb/testsuite/gdb.python/py-lazy-string.exp index 57c6c1c..9f3bad5 100644 --- a/gdb/testsuite/gdb.python/py-lazy-string.exp +++ b/gdb/testsuite/gdb.python/py-lazy-string.exp @@ -18,15 +18,14 @@ load_lib gdb-python.exp +require !skip_python_tests + standard_testfile 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] } { continue } - if ![runto_main ] { return -1 } |