[gdb/testsuite] Fix untested messages in gdb.mi/*.exp
authorTom de Vries <tdevries@suse.de>
Thu, 30 Sep 2021 17:07:47 +0000 (19:07 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 30 Sep 2021 17:07:47 +0000 (19:07 +0200)
commitb6107a72badd38a2cf63fc09759ce281547c19a3
tree5d1feff973466799fe2aafe26d0fc717278f8725
parent7325ba796b4432b73388d0cdbd5b0e8c8dee8855
[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.
gdb/testsuite/gdb.mi/gdb2549.exp
gdb/testsuite/gdb.mi/mi-async-run.exp
gdb/testsuite/gdb.mi/mi-frame-regs.exp
gdb/testsuite/gdb.mi/mi-fullname-deleted.exp
gdb/testsuite/gdb.mi/mi-vla-c99.exp