test.sh (245B)
1 #!/bin/sh 2 set -eu 3 root=$(CDPATH= cd "$(dirname "$0")/.." && pwd -P) 4 for script in "$root"/scripts/*.sh "$root"/files/toolchain/*.sh; do 5 sh -n "$script" 6 done 7 PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s "$root/tests" -p 'test_*.py'