summaryrefslogtreecommitdiff
path: root/build_test.bash
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-12-16 20:08:03 +0000
committerAnton Hansson <hansson@google.com>2020-12-17 20:27:45 +0000
commit785a31ab5870d6ce05716361fb9ff82b76bb013d (patch)
tree4563a2165c5fad2d23215ddd0dbd207806f71e4b /build_test.bash
parentf2f3d315491bc626bde45eccea92f9f0fe084e79 (diff)
Skip mainline_sdk by default in build_test.bash
This product does not work in build_test yet for two reasons: - it's a soong-only build and kati does not pass - it requires the FORCE_BUILD_LLVM_COMPONENTS env variable to be set Bug: 174315599 Test: build_test Change-Id: I6d1be1a9779028fb6b7504b6853edcd6db71e35a
Diffstat (limited to 'build_test.bash')
-rwxr-xr-xbuild_test.bash7
1 files changed, 6 insertions, 1 deletions
diff --git a/build_test.bash b/build_test.bash
index accca0f81..3230f2d0a 100755
--- a/build_test.bash
+++ b/build_test.bash
@@ -23,6 +23,11 @@
# evolve as we find interesting things to test or track performance for.
#
+# Products that are broken or otherwise don't work with multiproduct_kati
+SKIPPED_PRODUCTS=(
+ mainline_sdk
+)
+
# To track how long we took to startup. %N isn't supported on Darwin, but
# that's detected in the Go code, which skips calculating the startup time.
export TRACE_BEGIN_SOONG=$(date +%s%N)
@@ -50,4 +55,4 @@ echo "Running Bazel smoke test..."
echo
echo "Running Soong test..."
soong_build_go multiproduct_kati android/soong/cmd/multiproduct_kati
-exec "$(getoutdir)/multiproduct_kati" "$@"
+exec "$(getoutdir)/multiproduct_kati" --skip-products "$(echo "${SKIPPED_PRODUCTS[@]-}" | tr ' ' ',')" "$@"