]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Handle missing xz in gdb.base/gnu-debugdata.exp
authorTom de Vries <tdevries@suse.de>
Mon, 14 Dec 2020 16:05:11 +0000 (17:05 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 14 Dec 2020 16:05:11 +0000 (17:05 +0100)
commit18f1cb1fc5355629c74f7615e358e3007f4e3bae
tree11a0bca4f824b9428dacecd5e956ddab301ffb5c
parent519155c9f6804988e35c8537c4506e877176c9b1
[gdb/testsuite] Handle missing xz in gdb.base/gnu-debugdata.exp

When running test-case gdb.base/gnu-debugdata.exp on SLE-11, I run into:
...
FAIL: gdb.base/gnu-debugdata.exp: xz
...

The fact that xz is not installed does not mean there's a fail, merely that
the test is unsupported.

Fix this by detecting the "spawn failed" reply in run_on_host and issuing
UNSUPPORTED instead.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-12-14  Tom de Vries  <tdevries@suse.de>

PR testsuite/26963
* lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp