commit | d7f0f10189fa83a73d9819e81fd321142c0c6398 | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Tue Mar 28 10:22:48 2023 +0200 |
committer | Tom de Vries <tdevries@suse.de> | Tue Mar 28 10:22:48 2023 +0200 |
tree | 0c530f2227dd936bb994f3188279df669f5f2de7 | |
parent | 29dd2d27b202cb4f16c77008e8b71b5554b435fc [diff] |
[gdb/testsuite] Allow gdb.rust/expr.exp without rust compiler Proc allow_rust_tests returns 0 when there's no rust compiler, but that gives the wrong answer for gdb.rust/expr.exp, which doesn't require it. Fix this by using can_compile rust in the test-cases that need it, and just returning 1 in allow_rust_tests. Tested on x86_64-linux.