lean2/tests/lean/hott/test_single.sh
Leonardo de Moura 2bb51554d5 feat(library/definitional/util): add telescope equality for HoTT library
This is needed for implementing no_confusion for HoTT.
We can't use heterogeneous equality in HoTT.
2014-12-07 18:35:55 -08:00

16 lines
279 B
Bash
Executable file

#!/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
export HLEAN_PATH=../../../hott:.
f=$2
echo "-- testing $f"
if $LEAN $f; then
echo "-- checked"
else
echo "failed $f"
exit 1
fi