mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
gdb/testsuite: add Python support check in gdb.python/flexible-array-member.exp
We don't want to execute this test if Python support is not compiled in GDB, add the necessary check. gdb/testsuite/ChangeLog: * gdb.python/flexible-array-member.exp: Add check for Python support. Change-Id: I853b937d2a193a0bb216566bef1a35354264b1c5
This commit is contained in:
parent
e25d6d93c4
commit
a87caa6d52
@ -1,3 +1,8 @@
|
||||
2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* gdb.python/flexible-array-member.exp: Add check for Python
|
||||
support.
|
||||
|
||||
2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
PR gdb/27757
|
||||
|
@ -22,6 +22,9 @@ if { [prepare_for_testing "failed to prepare" \
|
||||
return
|
||||
}
|
||||
|
||||
# Skip all tests if Python scripting is not enabled.
|
||||
if { [skip_python_tests] } { continue }
|
||||
|
||||
if { ![runto break_here] } {
|
||||
untested "could not run to break_here"
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user