Do nothing in BuildTargetUnitTest if bazel==True
This is not implemented yet.
BUG=b:298138226
BUG=b:291982142
TEST=./run_tests
Change-Id: I791adbcfa3540447f77d51f22851131fcd18e9d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4835441
Reviewed-by: Tim Bain <tbain@google.com>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Queue: Ryo Hashimoto <hashimoto@chromium.org>
diff --git a/api/controller/test.py b/api/controller/test.py
index aa2e180..94f381b 100644
--- a/api/controller/test.py
+++ b/api/controller/test.py
@@ -116,6 +116,8 @@
code_coverage = input_proto.flags.code_coverage
rust_code_coverage = input_proto.flags.rust_code_coverage
+ bazel = input_proto.flags.bazel
+
sysroot = sysroot_lib.Sysroot(build_target.root)
result = test.BuildTargetUnitTest(
@@ -127,6 +129,7 @@
rust_code_coverage=rust_code_coverage,
testable_packages_optional=testable_packages_optional,
filter_only_cros_workon=filter_only_cros_workon,
+ bazel=bazel,
)
if not result.success: