diff options
author | Tom de Vries <tdevries@suse.de> | 2021-09-30 19:07:48 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-09-30 19:07:48 +0200 |
commit | c2fd8824c8ff4a7b48ef9f058be0038d1f6faa1f (patch) | |
tree | f382fa29a3e16afa9d10857e2cda4b018a206022 /gdb/source.c | |
parent | dc412de5e954d81dc932be7fa7c2edda992de096 (diff) | |
download | gdb-c2fd8824c8ff4a7b48ef9f058be0038d1f6faa1f.zip gdb-c2fd8824c8ff4a7b48ef9f058be0038d1f6faa1f.tar.gz gdb-c2fd8824c8ff4a7b48ef9f058be0038d1f6faa1f.tar.bz2 |
[gdb/testsuite] Check compilation result in gdb.base/structs.exp
When running test-case gdb.base/structs.exp with target board unix/-bad, I
get:
...
gdb compile failed, gcc: error: unrecognized command line option '-bad'
UNTESTED: gdb.base/structs.exp: failed to prepare
ERROR: tcl error sourcing src/gdb/testsuite/gdb.base/structs.exp.
ERROR: can't read "use_gdb_stub": no such variable
...
Fix this by checking the compilation result.
Fix the resulting DUPLICATEs using with_test_prefix.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions