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"
|
2015-03-29 03:29:52 +00:00
|
|
|
if "$LEAN" "$f"; then
|
2014-07-27 03:47:24 +00:00
|
|
|
echo "-- checked"
|
|
|
|
else
|
|
|
|
echo "failed $f"
|
|
|
|
exit 1
|
|
|
|
fi
|