Merge "Perform Bazel cleanup using "--batch --max_idle_secs=1" instead of a trap."

This commit is contained in:
Rupert Shuttleworth
2020-11-11 20:56:10 +00:00
committed by Gerrit Code Review

View File

@@ -43,14 +43,9 @@ 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
"${TOP}/tools/bazel" --batch --max_idle_secs=1 info
echo
echo "Running Soong test..."