summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lukacs T. Berki <lberki@google.com> 2021-05-17 14:33:01 +0200
committer Lukacs T. Berki <lberki@google.com> 2021-05-17 14:33:01 +0200
commit4070bcdcdee0f3deef9a8b413d3241c8cc6a7f30 (patch)
tree47f5e6727ca12f4d9d038cc7db4a18dc286e5788
parent37ef22397244223db9cd0b3e8ed90053365f28be (diff)
Print free disk space when starting build_test.
This is so that we know whether the attached bug is caused by the disk being full. Bug: 187870338 Test: Presubmits. Change-Id: Ib09f51d971de556e5737ad2754836f2a12f60281
-rwxr-xr-xbuild_test.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_test.bash b/build_test.bash
index 3230f2d0a..296a79cd0 100755
--- a/build_test.bash
+++ b/build_test.bash
@@ -49,6 +49,10 @@ case $(uname) in
esac
echo
+echo "Free disk space:"
+df -h
+
+echo
echo "Running Bazel smoke test..."
"${TOP}/tools/bazel" --batch --max_idle_secs=1 info