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.dwarf2 | |
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.dwarf2')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/symtab-producer.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/typedef-void-finish.exp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/symtab-producer.exp b/gdb/testsuite/gdb.dwarf2/symtab-producer.exp index 545d76f..02826ed 100644 --- a/gdb/testsuite/gdb.dwarf2/symtab-producer.exp +++ b/gdb/testsuite/gdb.dwarf2/symtab-producer.exp @@ -17,7 +17,7 @@ load_lib dwarf.exp load_lib gdb-python.exp # This test can only be run on targets which support DWARF-2 and use gas. -require dwarf2_support !skip_python_tests +require dwarf2_support allow_python_tests standard_testfile main.c -dw.S diff --git a/gdb/testsuite/gdb.dwarf2/typedef-void-finish.exp b/gdb/testsuite/gdb.dwarf2/typedef-void-finish.exp index 8e5a1ab..f5dfc9c 100644 --- a/gdb/testsuite/gdb.dwarf2/typedef-void-finish.exp +++ b/gdb/testsuite/gdb.dwarf2/typedef-void-finish.exp @@ -72,8 +72,8 @@ gdb_test "break func" "Breakpoint .*" \ "set breakpoint in func" gdb_continue_to_breakpoint "continue to func" -set skip_python [skip_python_tests] -if {!$skip_python} { +set allow_python [allow_python_tests] +if {$allow_python} { gdb_test "python finishbp = gdb.FinishBreakpoint()" \ "Temporary breakpoint.*" "set FinishBreakpoint" } @@ -82,7 +82,7 @@ gdb_test "finish" [multi_line \ "Run till exit from #0 $hex in func \\\(\\\)" \ ".*$hex in main \\\(\\\)"] -if {!$skip_python} { +if {$allow_python} { gdb_test "python print (finishbp.return_value)" "None" \ "check that return_value is None" } |