summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/ci/clean-test-output.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargo/ci/clean-test-output.sh')
-rwxr-xr-xsrc/tools/cargo/ci/clean-test-output.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/cargo/ci/clean-test-output.sh b/src/tools/cargo/ci/clean-test-output.sh
new file mode 100755
index 000000000..f1f2ec61c
--- /dev/null
+++ b/src/tools/cargo/ci/clean-test-output.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# This script remove test and benchmark output and displays disk usage.
+
+set -euo pipefail
+
+df -h
+rm -rf target/tmp
+df -h