diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-28 10:22:48 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-28 10:22:48 +0200 |
commit | 29dd2d27b202cb4f16c77008e8b71b5554b435fc (patch) | |
tree | 1da449057faa5dc2ad070c0c02caee18ea887bef /gdb/testsuite/gdb.rust/rust-start.exp | |
parent | 7ec0e36e9f102279fa2aa2138fb2bd09fdf4cd49 (diff) | |
download | gdb-29dd2d27b202cb4f16c77008e8b71b5554b435fc.zip gdb-29dd2d27b202cb4f16c77008e8b71b5554b435fc.tar.gz gdb-29dd2d27b202cb4f16c77008e8b71b5554b435fc.tar.bz2 |
[gdb/testsuite] Add can_compile rust
If I deinstall the rust compiler, I get:
...
gdb compile failed, default_target_compile: Can't find rustc --color never.
UNTESTED: gdb.rust/watch.exp: failed to prepare
...
Fix this by adding can_compile rust, and using it in allow_rust_tests, such
that we have instead:
...
UNSUPPORTED: gdb.rust/watch.exp: require failed: allow_rust_tests
...
Since the rest of the code in allow_rust_tests is also about availability of
the rust compiler, move it to can_compile.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.rust/rust-start.exp')
0 files changed, 0 insertions, 0 deletions