diff options
author | Tom de Vries <tdevries@suse.de> | 2021-09-30 19:07:47 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-09-30 19:07:47 +0200 |
commit | b6107a72badd38a2cf63fc09759ce281547c19a3 (patch) | |
tree | 5d1feff973466799fe2aafe26d0fc717278f8725 | |
parent | 7325ba796b4432b73388d0cdbd5b0e8c8dee8855 (diff) | |
download | gdb-b6107a72badd38a2cf63fc09759ce281547c19a3.zip gdb-b6107a72badd38a2cf63fc09759ce281547c19a3.tar.gz gdb-b6107a72badd38a2cf63fc09759ce281547c19a3.tar.bz2 |
[gdb/testsuite] Fix untested messages in gdb.mi/*.exp
The effect of:
...
untested "y.exp"
...
in a gdb.x/y.exp is:
...
UNTESTED: gdb.x/y.exp: y.exp
...
which is a bit pointless.
Replace these untested messages in gdb.mi/*.exp with the usual "failed to
compile".
Likewise for an:
...
untested $testname
...
where the variable is undefined.
Tested on x86_64-linux.
-rw-r--r-- | gdb/testsuite/gdb.mi/gdb2549.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-async-run.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-frame-regs.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-fullname-deleted.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-vla-c99.exp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb2549.exp b/gdb/testsuite/gdb.mi/gdb2549.exp index 3a8c3fc..aebf9c9 100644 --- a/gdb/testsuite/gdb.mi/gdb2549.exp +++ b/gdb/testsuite/gdb.mi/gdb2549.exp @@ -28,7 +28,7 @@ set MIFLAGS "-i=mi" standard_testfile basics.c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested mi-regs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-async-run.exp b/gdb/testsuite/gdb.mi/mi-async-run.exp index 913e0eb..c814cf1 100644 --- a/gdb/testsuite/gdb.mi/mi-async-run.exp +++ b/gdb/testsuite/gdb.mi/mi-async-run.exp @@ -18,7 +18,7 @@ load_lib mi-support.exp standard_testfile if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "mi-async-run.exp" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-frame-regs.exp b/gdb/testsuite/gdb.mi/mi-frame-regs.exp index fb43939..459b85c 100644 --- a/gdb/testsuite/gdb.mi/mi-frame-regs.exp +++ b/gdb/testsuite/gdb.mi/mi-frame-regs.exp @@ -26,7 +26,7 @@ standard_testfile basics.c if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ executable {debug}] != "" } then { - untested mi-frame-regs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp b/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp index fcf97c0..102aadb 100644 --- a/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp +++ b/gdb/testsuite/gdb.mi/mi-fullname-deleted.exp @@ -57,7 +57,7 @@ puts $f "int main (void) { return 0; }" close $f if { [gdb_compile "$srcfileabs" "${binfile}" executable {debug}] != "" } { - untested $testname + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-vla-c99.exp b/gdb/testsuite/gdb.mi/mi-vla-c99.exp index 2080f9a..5e8530c 100644 --- a/gdb/testsuite/gdb.mi/mi-vla-c99.exp +++ b/gdb/testsuite/gdb.mi/mi-vla-c99.exp @@ -30,7 +30,7 @@ standard_testfile vla.c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" \ "${binfile}" executable {debug}] != "" } { - untested mi-vla-basics.exp + untested "failed to compile" return -1 } |