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.base/jit-reader.exp | |
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.base/jit-reader.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/jit-reader.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/jit-reader.exp b/gdb/testsuite/gdb.base/jit-reader.exp index 1ff3f2a..8023ef6 100644 --- a/gdb/testsuite/gdb.base/jit-reader.exp +++ b/gdb/testsuite/gdb.base/jit-reader.exp @@ -219,7 +219,7 @@ proc jit_reader_test {} { "cannot assign to register" } - if { ![skip_python_tests] } { + if { [allow_python_tests] } { gdb_test "python print(gdb.objfiles())" \ "$any<gdb.Objfile filename=<< JIT compiled code at $hex >>>$any" \ "python gdb.Objfile.__repr__ ()" @@ -263,7 +263,7 @@ proc jit_reader_test {} { ] } - if {![skip_python_tests]} { + if {[allow_python_tests]} { gdb_test "python print(any(\[not x.is_file for x in gdb.objfiles()\]))" \ "True" \ "at least one non-file objfile" |