Perform Bazel cleanup using "--batch --max_idle_secs=1" instead of a trap.
Test: Manually. Change-Id: Id28f504fec8c6f7222646fe822264f0a4a746825
This commit is contained in:
parent
8024c95ecc
commit
2e5bf406f1
1 changed files with 1 additions and 6 deletions
|
@ -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..."
|
||||||
|
|
Loading…
Reference in a new issue