diff options
Diffstat (limited to 'check-all')
-rwxr-xr-x | check-all | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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" |