aboutsummaryrefslogtreecommitdiff
path: root/sim/rl78
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-03-11 08:37:04 +0100
committerTom de Vries <tdevries@suse.de>2020-03-11 08:37:04 +0100
commitb76f3a42371cb0d83a1128a434852447da76b5e9 (patch)
treedb14db6303eadc4fb0a1b100ef3afdb68e31fe40 /sim/rl78
parent119789424b62321e74a18fc1c088ebf479d999c4 (diff)
downloadgdb-b76f3a42371cb0d83a1128a434852447da76b5e9.zip
gdb-b76f3a42371cb0d83a1128a434852447da76b5e9.tar.gz
gdb-b76f3a42371cb0d83a1128a434852447da76b5e9.tar.bz2
[gdb/testsuite] Set EDITOR to true before using edit
The test-case gdb.base/list-ambiguous.exp normally passes, but with target board readnow, some tests fail. In particular, for this test, edit doesn't fail as expected: ... # While at it, test the "edit" command as well, since it shares # code with "list". gdb_test "edit $symbol" \ "Specified line is ambiguous:\r\n${h0_re}\r\n${h1_re}" ... and the editor is launched, in my case: ... $ echo $EDITOR /home/vries/bin/emacs-nw.sh ... which result in all subsequent tests failing with timeout, and an editor backup file in my sources: ... $ git status --ignored On branch master Ignored files: (use "git add -f <file>..." to include in what will be committed) gdb/testsuite/gdb.base/#list-ambiguous0.c# nothing to commit, working tree clean ... Fix this by setting EDITOR to true before starting gdb in this test-case. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-03-11 Tom de Vries <tdevries@suse.de> * gdb.base/list-ambiguous.exp: Set EDITOR to true.
Diffstat (limited to 'sim/rl78')
0 files changed, 0 insertions, 0 deletions