mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
Fix unstable test names in gdb.arch/arc-tdesc-cpu.exp
Currently if you diff testsuite/gdb.sum of two builds built from different source trees you see this spurious hunk: -PASS: gdb.arch/arc-tdesc-cpu.exp: set tdesc filename /home/pedro/gdb1/src/gdb/testsuite/gdb.arch/arc-tdesc-cpu.xml +PASS: gdb.arch/arc-tdesc-cpu.exp: set tdesc filename /home/pedro/gdb2/src/gdb/testsuite/gdb.arch/arc-tdesc-cpu.xml After this commit we'll show this instead in gdb.sum: PASS: gdb.arch/arc-tdesc-cpu.exp: set tdesc filename $srcdir/gdb.arch/arc-tdesc-cpu.xml gdb/testsuite/ChangeLog: 2017-10-24 Pedro Alves <palves@redhat.com> * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test with explicit test name.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-10-24 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
|
||||||
|
with explicit test name.
|
||||||
|
|
||||||
2017-10-20 Pedro Alves <palves@redhat.com>
|
2017-10-20 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
|
* gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
|
||||||
|
@ -26,10 +26,10 @@ gdb_start
|
|||||||
# doesn't pass architecture from the target description directly to the
|
# doesn't pass architecture from the target description directly to the
|
||||||
# disassembler and instead uses one of the valid CPU names.
|
# disassembler and instead uses one of the valid CPU names.
|
||||||
|
|
||||||
set filename $srcdir/$subdir/arc-tdesc-cpu.xml
|
gdb_test \
|
||||||
|
"set tdesc filename $srcdir/$subdir/arc-tdesc-cpu.xml" \
|
||||||
set cmd "set tdesc filename $filename"
|
".*" \
|
||||||
gdb_test $cmd
|
"set tdesc filename \$srcdir/$subdir/arc-tdesc-cpu.xml"
|
||||||
|
|
||||||
# An error message is emitted by the disassembler, therefore it is not shown
|
# An error message is emitted by the disassembler, therefore it is not shown
|
||||||
# unless the disassembler is actually invoked. Address "0" is not invalid,
|
# unless the disassembler is actually invoked. Address "0" is not invalid,
|
||||||
|
Reference in New Issue
Block a user