diff options
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 3a1936f..b6eff66 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2447,11 +2447,11 @@ proc skip_rust_tests {} { return 0 } -# Return a 1 for configurations that do not support Python scripting. +# Return a 1 for configurations that support Python scripting. -gdb_caching_proc skip_python_tests { +gdb_caching_proc allow_python_tests { set output [remote_exec host $::GDB --configuration] - return [expr {[string first "--with-python" $output] == -1}] + return [expr {[string first "--with-python" $output] != -1}] } # Return a 1 if we should skip shared library tests. |