Fix unstable test names in gdb.gdb/unittest.exp
authorPedro Alves <palves@redhat.com>
Tue, 24 Oct 2017 09:43:34 +0000 (10:43 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 24 Oct 2017 09:53:03 +0000 (10:53 +0100)
commitfee6da6e1d96796f8aa8308b3833a3e4cdb409ff
tree9361e5737cf3649ffcf28f063ba000059b56dc0e
parent10389c2c8b56b2519441e55bf16f77882fb897cb
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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/unittest.exp