aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/bisect_flag_test.go
diff options
context:
space:
mode:
authorTobias Bosch <tbosch@google.com>2019-10-17 07:44:13 -0700
committerTobias Bosch <tbosch@google.com>2019-10-17 19:22:03 +0000
commit8cb363f62b57954ace161789eb7fa692a24f29a4 (patch)
tree38c0358978d0dab8f34c6d7bd6004dff318ef7ec /compiler_wrapper/bisect_flag_test.go
parent90d3658f7f8170c66f67f021df64bd421cdb7f11 (diff)
downloadtoolchain-utils-8cb363f62b57954ace161789eb7fa692a24f29a4.tar.gz
compiler_wrapper: remove WITH_TIDY support for android.
Also consolidates most of the android specific logic into one place so it's clear which flags are used and which ones are not. Also detects wrapping of clang-tidy for future special casing. BUG=chromium:773875 TEST=unit tests, golden tests TEST=android's test_compiler.py --with-tidy Change-Id: Ic83340ba63ec3ea4c3c174069d3dc017ecbcdd72 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1866603 Tested-by: Tobias Bosch <tbosch@google.com> Reviewed-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'compiler_wrapper/bisect_flag_test.go')
-rw-r--r--compiler_wrapper/bisect_flag_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler_wrapper/bisect_flag_test.go b/compiler_wrapper/bisect_flag_test.go
index 8500eef2..0bb6a820 100644
--- a/compiler_wrapper/bisect_flag_test.go
+++ b/compiler_wrapper/bisect_flag_test.go
@@ -85,7 +85,7 @@ func TestDefaultBisectDirAndroid(t *testing.T) {
"HOME=/somehome",
}
ctx.cfg.isAndroidWrapper = true
- cmd := mustCallBisectDriver(ctx, callCompiler(ctx, ctx.cfg, ctx.newCommand(gccX86_64, mainCc)))
+ cmd := mustCallBisectDriver(ctx, callCompiler(ctx, ctx.cfg, ctx.newCommand(clangAndroid, mainCc)))
if err := verifyArgOrder(cmd,
"someBisectStage", filepath.Join("/somehome", "ANDROID_BISECT")); err != nil {
t.Error(err)