Fix unstable test names in gdb.gdb/unittest.exp
Currently, if you diff testsuite/gdb.sum of two builds built from different source directories you see this spurious hunk: -PASS: gdb.gdb/unittest.exp: maintenance check xml-descriptions /home/pedro/gdb1/src/gdb/testsuite/../features +PASS: gdb.gdb/unittest.exp: maintenance check xml-descriptions /home/pedro/gdb2/src/gdb/testsuite/../features After this commit we'll show instead: PASS: gdb.gdb/unittest.exp: maintenance check xml-descriptions ${srcdir}/../features gdb/testsuite/ChangeLog: 2017-10-24 Pedro Alves <palves@redhat.com> * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use custom test name.
This commit is contained in:
parent
10389c2c8b
commit
fee6da6e1d
|
@ -1,3 +1,8 @@
|
|||
2017-10-24 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
|
||||
custom test name.
|
||||
|
||||
2017-10-24 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
|
||||
|
|
|
@ -18,5 +18,6 @@ gdb_test "maintenance selftest" "Ran $decimal unit tests, 0 failed"
|
|||
|
||||
if { ![is_remote host] } {
|
||||
gdb_test "maintenance check xml-descriptions ${srcdir}/../features" \
|
||||
"Tested $decimal XML files, 0 failed"
|
||||
"Tested $decimal XML files, 0 failed" \
|
||||
"maintenance check xml-descriptions \${srcdir}/../features"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue