]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix signals-state-child.exp in remote testing
authorYao Qi <yao.qi@linaro.org>
Tue, 23 Aug 2016 13:15:50 +0000 (14:15 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 23 Aug 2016 13:18:36 +0000 (14:18 +0100)
commit22dc25f77bdff5954af60abd7a098ea6e76ad1f9
tree97e0055c1d40770ad6fce0073a3e54c1d97a692f
parentf35498d4cdd260e14064c5c201c41f82aeaf413d
Fix signals-state-child.exp in remote testing

Remote testing isn't considered in signals-state-child.exp, so the it
fails like

shell diff -s /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/standalone.txt /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/gdb.txt^M
diff: /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/standalone.txt: No such file or directory^M
(gdb) FAIL: gdb.base/signals-state-child.exp: signals states are identical

This patch is to fix it.

gdb/testsuite:

2016-08-23  Yao Qi  <yao.qi@linaro.org>

* gdb.base/signals-state-child.exp: Set variables gdb_txt and
standalone_txt.  Delete gdb_txt and standalone_txt on host
and target.  Spawn the binary on target.  Copy files from
target to host.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/signals-state-child.exp