diff options
| author | Tom Tromey <tom@tromey.com> | 2018-09-28 10:32:59 -0600 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2018-09-28 10:32:59 -0600 |
| commit | e545dc9e2c1fe9852032ee753c0006b25e164d38 (patch) | |
| tree | 9e261dd86243a18e394d2e8a3bc48f33b39aac96 /src/rustllvm/RustWrapper.cpp | |
| parent | 80e6e3e582a9eb9115900d51ae6edecf46d81f6e (diff) | |
| download | rust-e545dc9e2c1fe9852032ee753c0006b25e164d38.tar.gz rust-e545dc9e2c1fe9852032ee753c0006b25e164d38.zip | |
Compute Android gdb version in compiletest
compiletest has special code for running gdb for Android targets. In particular it computes a different path to gdb. However, this gdb is not used for the version test, which results in some tests being run when they should not be. You can see this in #54004. This patch moves the special case to analyze_gdb and a new helper function to decide whether the case applies. This causes the version check to work properly. Note that the bulk of the runtest.rs change is just reindentation caused by moving from a "match" to an "if" -- but there is a (small) change buried in there.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
