Add smoke test for Bazel.
Test: Manually typed the commands in AOSP root. Change-Id: I5ecf85f9d715f2759d27de4ac18b4928eb306550
This commit is contained in:
parent
38da41c234
commit
6284ceb1f8
1 changed files with 11 additions and 0 deletions
|
@ -43,5 +43,16 @@ case $(uname) in
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
soong_build_go multiproduct_kati android/soong/cmd/multiproduct_kati
|
||||||
exec "$(getoutdir)/multiproduct_kati" "$@"
|
exec "$(getoutdir)/multiproduct_kati" "$@"
|
||||||
|
|
Loading…
Reference in a new issue