public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove path name from test
@ 2023-01-22 21:28 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-01-22 21:28 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2292e336c64bc365ceed12231a516c3f3068c869

commit 2292e336c64bc365ceed12231a516c3f3068c869
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Jan 21 14:59:16 2023 -0700

    Remove path name from test
    
    The test suite reports several path names in tests.  I couldn't find
    most of these, and I suspect they are false reports, but I did manage
    to locate one.  This one is probably harmless, as I think the path
    does not vary; but it's also easy to fix and suppress one warning.

Diff:
---
 gdb/testsuite/gdb.python/py-parameter.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.python/py-parameter.exp b/gdb/testsuite/gdb.python/py-parameter.exp
index 09a03083d03..c1f8a80c6b7 100644
--- a/gdb/testsuite/gdb.python/py-parameter.exp
+++ b/gdb/testsuite/gdb.python/py-parameter.exp
@@ -76,7 +76,8 @@ proc_with_prefix test_data_directory { } {
     set rel_path_to_output_dir \
 	[file join "." [string replace ${abs_path_to_output_dir} 0 \
 			    [string length ${abs_path_to_cwd}] ""]]
-    gdb_test_no_output "set data-directory ${rel_path_to_output_dir}"
+    gdb_test_no_output "set data-directory ${rel_path_to_output_dir}" \
+	"set data-directory to relative path"
 
     gdb_test "python print (gdb.parameter ('data-directory'))" \
 	${abs_path_to_output_dir} \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-22 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22 21:28 [binutils-gdb] Remove path name from test Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).