diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-08 11:46:05 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:58 -0700 |
commit | d82e5429b532f3cf0a0453800b0347368834f8bc (patch) | |
tree | e3e11ec7928cac52b00d878d139104759700c332 /gdb/testsuite/gdb.server | |
parent | c241bf50ca04196a1bb88e71a43b95dc5e61ca35 (diff) | |
download | gdb-d82e5429b532f3cf0a0453800b0347368834f8bc.zip gdb-d82e5429b532f3cf0a0453800b0347368834f8bc.tar.gz gdb-d82e5429b532f3cf0a0453800b0347368834f8bc.tar.bz2 |
Rename to allow_python_tests
This changes skip_python_tests to invert the sense, and renames it to
allow_python_tests.
Diffstat (limited to 'gdb/testsuite/gdb.server')
-rw-r--r-- | gdb/testsuite/gdb.server/server-kill-python.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.server/server-pipe.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.server/server-kill-python.exp b/gdb/testsuite/gdb.server/server-kill-python.exp index bc62cbf..7b8f29b 100644 --- a/gdb/testsuite/gdb.server/server-kill-python.exp +++ b/gdb/testsuite/gdb.server/server-kill-python.exp @@ -23,7 +23,7 @@ load_lib gdbserver-support.exp standard_testfile multi-ui-errors.c -require allow_gdbserver_tests !skip_python_tests +require allow_gdbserver_tests allow_python_tests if {[build_executable "failed to prepare" ${testfile} \ ${srcfile}] == -1} { diff --git a/gdb/testsuite/gdb.server/server-pipe.exp b/gdb/testsuite/gdb.server/server-pipe.exp index 693771e..48b79fe 100644 --- a/gdb/testsuite/gdb.server/server-pipe.exp +++ b/gdb/testsuite/gdb.server/server-pipe.exp @@ -66,7 +66,7 @@ proc do_test { target } { gdb_test "info connections" "${target} \| ${::gdbserver} - ${::binfile} \[^\r\n\]+" - if { ![skip_python_tests] } { + if { [allow_python_tests] } { gdb_test_no_output "python conn = gdb.selected_inferior().connection" gdb_test "python print(conn.details)" "\| ${::gdbserver} - ${::binfile}" } |