From 9c2412ec7fe51e8c2a4c15b0f17900a3df945b1d Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 20 Oct 2020 10:20:24 +0200 Subject: [PATCH] [gdb/testsuite] Clean up redundant info in gdb.dwarf2 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. gdb/testsuite/ChangeLog: 2020-10-20 Tom de Vries * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp file. * gdb.dwarf2/dw2-dir-file-name.exp: Same. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp | 2 +- gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8772b809b7d..291599589ec 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-10-20 Tom de Vries + + * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp + file. + * gdb.dwarf2/dw2-dir-file-name.exp: Same. + 2020-10-20 Tom de Vries * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name. diff --git a/gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp b/gdb/testsuite/gdb.dwarf2/ada-valprint-error.exp index 698562de92f..86480619caf 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 973325f55f2..ba7bd7be526 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 } -- 2.30.2