Merge "Add smoke test for Bazel." am: 9d181ec5d5
am: 096747407a
am: d92c9bbf46
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1475777 Change-Id: I4e234f3151e912b1a0c17078c1dc13c1de98e9db
This commit is contained in:
@@ -43,5 +43,16 @@ case $(uname) in
|
||||
;;
|
||||
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" "$@"
|
||||
|
Reference in New Issue
Block a user