summaryrefslogtreecommitdiff
path: root/check-all
diff options
context:
space:
mode:
Diffstat (limited to 'check-all')
-rwxr-xr-xcheck-all15
1 files changed, 12 insertions, 3 deletions
diff --git a/check-all b/check-all
index 4e766c2..3f4c776 100755
--- a/check-all
+++ b/check-all
@@ -2,11 +2,20 @@
set -euo pipefail
+hideok=chronic
+if ! command -v chronic >/dev/null; then
+ hideok=
+fi
+if [ "$#" -gt 0 ] && [ "$1" = -v ]; then
+ hideok=
+ shift
+fi
+
cachedir="$1"
cd "$(dirname "$0")"
-./check
-./check-images "$cachedir"
-./check-external "$cachedir"
+$hideok ./check
+$hideok ./check-images "$cachedir"
+$hideok ./check-external "$cachedir"
echo "All tests PASS"