]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix PATH warning in gdb.rust/traits.exp
authorTom de Vries <tdevries@suse.de>
Mon, 14 Sep 2020 07:54:47 +0000 (09:54 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 14 Sep 2020 07:54:47 +0000 (09:54 +0200)
commitee6372f2112b53d7233e8565c52c2429440db488
tree1ed2f7995af36fe471a404f3c2d20ab20c39d7b1
parent1e95aa3b80230aa05c5fc95512a4ddd90d6aaf00
[gdb/testsuite] Fix PATH warning in gdb.rust/traits.exp

When running the rust test-cases with release 1.36.0 and LLVM version 7.0, I
run into:
...
(gdb) UNTESTED: gdb.rust/traits.exp: could not read \
  outputs/gdb.rust/traits/traits with readelf
PATH: gdb.rust/traits.exp: could not read \
  outputs/gdb.rust/traits/traits with readelf
...

Fix the PATH warning by printing [file tail $binfile] instead $binfile.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

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

* gdb.rust/traits.exp: Fix PATH warning.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/traits.exp