diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/non-lazy-array-index.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/non-lazy-array-index.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/non-lazy-array-index.exp b/gdb/testsuite/gdb.base/non-lazy-array-index.exp index 75c2252..f88cf6f 100644 --- a/gdb/testsuite/gdb.base/non-lazy-array-index.exp +++ b/gdb/testsuite/gdb.base/non-lazy-array-index.exp @@ -80,7 +80,7 @@ gdb_test_multiple "p \$.array\[1\]" "" { gdb_test "set debug target 0" ".*" -if { ! [skip_python_tests] } { +if { [allow_python_tests] } { gdb_test_no_output "python val = gdb.parse_and_eval('global_foo')" gdb_test "python print('val = %s' % val)" "val = \\{f = 1, array = \\{1, 2, 3, 4, 5\\}\\}" gdb_test "python print('val.is_lazy = %s' % val.is_lazy)" "val\\.is_lazy = False" |