aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/array_of_variant.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/array_of_variant.exp')
-rw-r--r--gdb/testsuite/gdb.ada/array_of_variant.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/array_of_variant.exp b/gdb/testsuite/gdb.ada/array_of_variant.exp
index 6110ec6..532fb1c 100644
--- a/gdb/testsuite/gdb.ada/array_of_variant.exp
+++ b/gdb/testsuite/gdb.ada/array_of_variant.exp
@@ -78,7 +78,7 @@ foreach_with_prefix scenario {all minimal} {
"print second array slice"
# This is only supported for the DWARF encoding.
- if {$scenario == "minimal" && ![skip_python_tests]} {
+ if {$scenario == "minimal" && [allow_python_tests]} {
gdb_test_no_output \
"python o = gdb.parse_and_eval('objects')" \
"fetch value for python"