commit | 9d181ec5d574fda1797c65275df94db60838ae4a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Oct 28 06:21:58 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Oct 28 06:21:58 2020 +0000 |
tree | a2990a8182fee8c79040fc52df40729225f441b8 | |
parent | 6776629f6346f2200459fd1b6d01ec655a2c8d8d [diff] | |
parent | 6284ceb1f87bd5c4a86f14b40df0289ed151110e [diff] |
Merge "Add smoke test for Bazel."
diff --git a/build_test.bash b/build_test.bash index ee979e7..a53a585 100755 --- a/build_test.bash +++ b/build_test.bash
@@ -43,5 +43,16 @@ ;; esac +function bazel_cleanup { + "${TOP}/tools/bazel" shutdown +} +trap bazel_cleanup EXIT + +echo +echo "Running Bazel smoke test..." +"${TOP}/tools/bazel" info + +echo +echo "Running Soong test..." soong_build_go multiproduct_kati android/soong/cmd/multiproduct_kati exec "$(getoutdir)/multiproduct_kati" "$@"