2014-07-26 20:47:24 -07: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-07 18:17:15 -08:00
|
|
|
export HLEAN_PATH=../../../hott:.
|
2014-07-26 20:47:24 -07:00
|
|
|
f=$2
|
|
|
|
echo "-- testing $f"
|
2015-03-28 23:29:52 -04:00
|
|
|
if "$LEAN" "$f"; then
|
2014-07-26 20:47:24 -07:00
|
|
|
echo "-- checked"
|
|
|
|
else
|
|
|
|
echo "failed $f"
|
|
|
|
exit 1
|
|
|
|
fi
|