about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-28 10:32:59 -0600
committerTom Tromey <tom@tromey.com>2018-09-28 10:32:59 -0600
commite545dc9e2c1fe9852032ee753c0006b25e164d38 (patch)
tree9e261dd86243a18e394d2e8a3bc48f33b39aac96 /src/rustllvm/RustWrapper.cpp
parent80e6e3e582a9eb9115900d51ae6edecf46d81f6e (diff)
downloadrust-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