From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 4AF643858421; Sun, 22 Jan 2023 21:28:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AF643858421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674422908; bh=Nk33xOV6RcdzkIBrqqOxMIAnc9H1aMqAtxtU+MvZSKg=; h=From:To:Subject:Date:From; b=W6QXe6iWp2F9wtcrdFRMAy/hprSOiDIf0kE5xSjP11/SOTVZdoG9jF5Ab69m4gD+k BLRHCYgN3F1rW56cGvC2hgI7QYJrV7QV2o6qlJieJIIA4VsQsVfiqp/uwHxo8kMmG7 JEo1vaqa2b77Tex1AJeqB0nBA4Fhg/ZG+TCWO4Co= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove path name from test X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 39ac2b04bf1328c71d2c033810c559edd97d407b X-Git-Newrev: 2292e336c64bc365ceed12231a516c3f3068c869 Message-Id: <20230122212828.4AF643858421@sourceware.org> Date: Sun, 22 Jan 2023 21:28:28 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2292e336c64b= c365ceed12231a516c3f3068c869 commit 2292e336c64bc365ceed12231a516c3f3068c869 Author: Tom Tromey Date: Sat Jan 21 14:59:16 2023 -0700 Remove path name from test =20 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" =20 gdb_test "python print (gdb.parameter ('data-directory'))" \ ${abs_path_to_output_dir} \