]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: Don't allow paths to appear in test name
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 11 Jan 2019 23:27:33 +0000 (23:27 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 12 Jan 2019 11:08:22 +0000 (11:08 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/style.exp

index b0dec0d9bf84e5270aec610274c34739eebc991c..a6a8ec03ad6dd32ed4ee9e83ce0afcafc3364549 100644 (file)
@@ -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
index 268f8018cd9b0f5d03b8eff265bf087177016774..78d04b029037427b51a5240abe7ca00859748595 100644 (file)
@@ -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"
 }