diff options
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -euo pipefail +stack build +prog="$(stack path --local-install-root)/bin/lisp" +for f in tests/*.lisp; do + echo "$f" + diff -u <("$prog" "$f") "$(sed 's/\.lisp$/.out/' <<<"$f")" +done +echo "All OK" |