From 2e5bf406f1457acdc7752b3d763a7c1ec86c0b81 Mon Sep 17 00:00:00 2001 From: Rupert Shuttleworth Date: Tue, 10 Nov 2020 02:36:16 +0000 Subject: [PATCH] Perform Bazel cleanup using "--batch --max_idle_secs=1" instead of a trap. Test: Manually. Change-Id: Id28f504fec8c6f7222646fe822264f0a4a746825 --- build_test.bash | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build_test.bash b/build_test.bash index a53a58598..accca0f81 100755 --- a/build_test.bash +++ b/build_test.bash @@ -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..."