diff options
author | Tom de Vries <tdevries@suse.de> | 2021-01-20 22:02:33 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-01-20 22:02:33 +0100 |
commit | 1402665c8f4327b303b8d152c698fe821874f3eb (patch) | |
tree | f3efe325ee5bcabe45c7f85c6ac7f0da7ab538ea /gdb/sparc64-netbsd-nat.c | |
parent | 6f52fdf40465ee8f5421c66ceb21f37856bf6e5e (diff) | |
download | gdb-1402665c8f4327b303b8d152c698fe821874f3eb.zip gdb-1402665c8f4327b303b8d152c698fe821874f3eb.tar.gz gdb-1402665c8f4327b303b8d152c698fe821874f3eb.tar.bz2 |
[gdb/testsuite] Skip gdb.rust/*.exp for target board unix/-m32
When running gdb.rust/*.exp with target board unix/-m32, we see:
...
Running src/gdb/testsuite/gdb.rust/union.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/modules.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/unsized.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/simple.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/watch.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/traits.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/expr.exp ...
Running src/gdb/testsuite/gdb.rust/rust-style.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/methods.exp ...
gdb compile failed, error: Unrecognized option: 'm'
Running src/gdb/testsuite/gdb.rust/generics.exp ...
gdb compile failed, error: Unrecognized option: 'm'
=== gdb Summary ===
nr of expected passes 95
nr of untested testcases 9
...
Fix this by testing for -m32 in the target board multilib_flags in
skip_rust_tests.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2021-01-20 Tom de Vries <tdevries@suse.de>
* lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
Diffstat (limited to 'gdb/sparc64-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions