diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.python/tui-window-disabled.exp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.python/tui-window-disabled.exp b/gdb/testsuite/gdb.python/tui-window-disabled.exp index fc69b2b..1d10437 100644 --- a/gdb/testsuite/gdb.python/tui-window-disabled.exp +++ b/gdb/testsuite/gdb.python/tui-window-disabled.exp @@ -22,7 +22,7 @@ # though the tui should be disabled. load_lib gdb-python.exp -require allow_tui_tests +require allow_tui_tests allow_python_tests tuiterm_env standard_testfile @@ -49,9 +49,6 @@ proc clean_restart_and_setup { prefix } { Term::clean_restart 24 80 $testfile - # Skip all tests if Python scripting is not enabled. - if { ![allow_python_tests] } { return 0 } - # Now source the python script. gdb_test_no_output "source ${remote_python_file}" \ "source ${testfile}.py" @@ -64,7 +61,7 @@ proc clean_restart_and_setup { prefix } { if {![runto_main]} { perror "test suppressed" - return + return 0 } } |