lean4-htt/tests/lean/trust0/test_single.sh
Leonardo de Moura 167549de59 chore: fix tests
2019-11-22 07:56:06 -08:00

17 lines
317 B
Bash
Executable file

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