#!/bin/bash # Run all executable `test-*` tests. set -euo pipefail mypath=$(dirname "$0") . "$mypath/../conf.sh" warn-verbose-tracing() { if tamer-flag parser-trace-stderr; then cat < 0)); then printf 'There were %d test failure(s):\n%s\n' "$failn" "$fail_names" echo -e '\e[31m' fi printf '%d tests, %d failed\n' "$count" "$failn" echo -en '\e[0m' [ "$failn" -eq 0 ] } main "$@"