diff options
author | Tom de Vries <tdevries@suse.de> | 2021-10-28 14:18:15 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-10-28 14:18:15 +0200 |
commit | 5ad2694b1ebe123ea92fcee094a69bcdc9769985 (patch) | |
tree | 290905c118fdd7da95c43649d96900477ea1aaff /gdb/frame.c | |
parent | fa0fe749f786a7f3e781b43b261300480946e803 (diff) | |
download | gdb-5ad2694b1ebe123ea92fcee094a69bcdc9769985.zip gdb-5ad2694b1ebe123ea92fcee094a69bcdc9769985.tar.gz gdb-5ad2694b1ebe123ea92fcee094a69bcdc9769985.tar.bz2 |
[gdb/testsuite] Require python in gdb.server/server-kill-python.exp
I came across this when running test-case gdb.server/server-kill-python.exp
with a gdb configured without python:
...
builtin_spawn gdb -nw -nx -data-directory data-directory -iex set height 0 \
-iex set width 0 -quiet -iex set height 0 -iex set width 0 \
-ex source outputs/gdb.server/server-kill-python/file1.py^M
FAIL: gdb.server/server-kill-python.exp: ensure inferior is running
Executing on target: kill -9 28535 (timeout = 300)
builtin_spawn -ignore SIGHUP kill -9 28535^M
file1.py:1: Error in sourced command file:^M
Undefined command: "import". Try "help".^M
...
Fix this by testing for python support in the test-case.
Tested on aarch64-linux (with python support disabled) and x86_64-linux (with
python support enabled).
Diffstat (limited to 'gdb/frame.c')
0 files changed, 0 insertions, 0 deletions