diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-01-11 23:27:33 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-01-12 11:08:22 +0000 |
commit | 6eb6fb6787430a2589e0382aa3e2e4f6f2a0a600 (patch) | |
tree | aca345ed5cbdd9ded6ca5d5f41594cbd496c2244 /gdb | |
parent | 9d7c67bfbde3b948704b46f8a6fd479e98ecf2c8 (diff) | |
download | gdb-6eb6fb6787430a2589e0382aa3e2e4f6f2a0a600.zip gdb-6eb6fb6787430a2589e0382aa3e2e4f6f2a0a600.tar.gz gdb-6eb6fb6787430a2589e0382aa3e2e4f6f2a0a600.tar.bz2 |
gdb/testsuite: Don't allow paths to appear in test name
Having paths in the test names makes it harder to compare results
between two runs in different directories. Give the test a name so
that the path doesn't appear.
gdb/ChangeLog:
* gdb.base/style.exp: Don't include path in testname.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/style.exp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b0dec0d..a6a8ec0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com> + + * gdb.base/style.exp: Don't include path in testname. + 2019-01-10 Keith Seitz <keiths@redhat.com> PR gdb/23712 diff --git a/gdb/testsuite/gdb.base/style.exp b/gdb/testsuite/gdb.base/style.exp index 268f801..78d04b0 100644 --- a/gdb/testsuite/gdb.base/style.exp +++ b/gdb/testsuite/gdb.base/style.exp @@ -54,4 +54,5 @@ save_vars { env(TERM) } { set quoted [string_to_regexp $binfile] gdb_test "file $binfile" \ "Reading symbols from \033\\\[32m${quoted}\033\\\[m..." \ + "filename is styled when loading symbol file" } |