Merge "Perform Bazel cleanup using "--batch --max_idle_secs=1" instead of a trap." am: eb165fd950
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1493518 Change-Id: I1f7a496e0a2132198da7c965546f48f61e52aabd
This commit is contained in:
committed by
Automerger Merge Worker
commit
d8b257c7a1
@@ -43,14 +43,9 @@ case $(uname) in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
function bazel_cleanup {
|
|
||||||
"${TOP}/tools/bazel" shutdown
|
|
||||||
}
|
|
||||||
trap bazel_cleanup EXIT
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Running Bazel smoke test..."
|
echo "Running Bazel smoke test..."
|
||||||
"${TOP}/tools/bazel" info
|
"${TOP}/tools/bazel" --batch --max_idle_secs=1 info
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Running Soong test..."
|
echo "Running Soong test..."
|
||||||
|
Reference in New Issue
Block a user