2014-07-27 03:47:24 +00:00
|
|
|
#!/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
|
2014-12-08 02:17:15 +00:00
|
|
|
export HLEAN_PATH=../../../hott:.
|
2014-07-27 03:47:24 +00:00
|
|
|
f=$2
|
|
|
|
echo "-- testing $f"
|
|
|
|
if $LEAN $f; then
|
|
|
|
echo "-- checked"
|
|
|
|
else
|
|
|
|
echo "failed $f"
|
|
|
|
exit 1
|
|
|
|
fi
|