gdb/testsuite: don't include paths in test names
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 15 Apr 2021 20:32:57 +0000 (21:32 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 15 Apr 2021 20:33:58 +0000 (21:33 +0100)
Give a test a proper name in order to avoid including a path in the
test name.

gdb/testsuite/ChangeLog:

* gdb.python/py-parameter.exp: Give a test a proper name to avoid
including a path in the test name.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-parameter.exp

index 9de1a44fd82599b6f5bb92d401e7dcbfd818dba7..fdb02b724b7bf874d4e235458c82a80027f1cdaa 100644 (file)
@@ -1,3 +1,8 @@
+2021-04-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-parameter.exp: Give a test a proper name to avoid
+       including a path in the test name.
+
 2021-04-15  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
index 5543b21f3ac78e5bd560d206f7b88a5474519fa5..84ad70ee20ef982450f7d15c7b69ae2a77d89e93 100644 (file)
@@ -78,7 +78,8 @@ gdb_test "show data-directory" \
     "check modified data-directory at the CLI"
 
 # Now lets set the data-directory back to what it was initially.
-gdb_test_no_output "set data-directory ${dd}"
+gdb_test_no_output "set data-directory ${dd}" \
+    "set data-directory back to its original value"
 
 # And check we see the restored value at CLI and from Python.
 gdb_test "show data-directory" \