2014-07-26 17:53:44 +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-08-24 01:08:09 +00:00
|
|
|
export LEAN_PATH=../../../library:.
|
2014-07-26 17:53:44 +00:00
|
|
|
f=$2
|
|
|
|
echo "-- testing $f"
|
2015-03-29 03:29:52 +00:00
|
|
|
if "$LEAN" "$f"; then
|
2014-07-26 17:53:44 +00:00
|
|
|
echo "-- checked"
|
|
|
|
else
|
|
|
|
echo "failed $f"
|
|
|
|
exit 1
|
|
|
|
fi
|