about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-09-29 13:21:21 +0800
committerkennytm <kennytm@gmail.com>2018-09-29 16:43:43 +0800
commit3861591946a58faaab861d1336ad0ae51e36c0a1 (patch)
treeaa13cd4e5ba9d9a57abe7654cd95dd9efa4bc822 /src/rustllvm/RustWrapper.cpp
parentc1b2dc223c02dcc8dc4307b4bcfa6797c8b95615 (diff)
parente545dc9e2c1fe9852032ee753c0006b25e164d38 (diff)
downloadrust-3861591946a58faaab861d1336ad0ae51e36c0a1.tar.gz
rust-3861591946a58faaab861d1336ad0ae51e36c0a1.zip
Rollup merge of #54645 - tromey:android-gdb-version, r=alexcrichton
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