public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [committed][gdb/testsuite] Clean up redundant info in gdb.dwarf2
@ 2020-10-20  8:21 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2020-10-20  8:21 UTC (permalink / raw)
  To: gdb-patches

Hi,

In gdb.dwarf2/ada-valprint-error.exp we find:
...
    untested ${testfile}.exp
...
such that we have:
...
UNTESTED: gdb.dwarf2/ada-valprint-error.exp: ada-valprint-error.exp
...

Fix this and a likewise unsupported message in
gdb.dwarf2/dw2-dir-file-name.exp.

Tested on x86_64-linux.

Committed to trunk.

Thanks,
- Tom

[gdb/testsuite] Clean up redundant info in gdb.dwarf2

gdb/testsuite/ChangeLog:

2020-10-20  Tom de Vries  <tdevries@suse.de>

	* gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
	file.
	* gdb.dwarf2/dw2-dir-file-name.exp: Same.

---
 gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp | 2 +-
 gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp b/gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp
index 698562de92..86480619ca 100644
--- a/gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp
+++ b/gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp
@@ -29,7 +29,7 @@ standard_testfile .c -dw.S
 # specifically for this testcase, might as well use that.
 
 if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } {
-    untested ${testfile}.exp
+    untested "failed to compile"
     return -1
 }
 
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
index 973325f55f..ba7bd7be52 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
@@ -22,7 +22,7 @@ if {![dwarf2_support]} {
 # This test has hard-wired assumptions that host and build filenames are
 # the same, and assumes POSIX pathname syntax.
 if { [is_remote host] || [ishost *-*-mingw*] } {
-    unsupported "dw2-dir-file-name.exp can only run on local host"
+    unsupported "can only run on local host"
     return 0
 }
 

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

only message in thread, other threads:[~2020-10-20  8:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20  8:21 [committed][gdb/testsuite] Clean up redundant info in gdb.dwarf2 Tom de Vries

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).