lean2/tests/lean/slow/test_single.sh
2015-03-28 23:29:52 -04:00

16 lines
285 B
Bash
Executable file

#!/usr/bin/env bash
if [ $# -ne 2 ]; then
echo "Usage: test_single.sh [lean-executable-path] [file]"
exit 1
fi
ulimit -s 8192
LEAN=$1
export LEAN_PATH=../../../library:.
f=$2
echo "-- testing $f"
if "$LEAN" "$f"; then
echo "-- checked"
else
echo "failed $f"
exit 1
fi