lean2/tests/lean/extra/test_eqn_macro.sh
2015-03-28 23:29:52 -04:00

10 lines
225 B
Bash
Executable file

#!/bin/bash
set -e
if [ $# -ne 1 ]; then
echo "Usage: test_eq_macro.sh [lean-executable-path]"
exit 1
fi
LEAN=$1
export LEAN_PATH=../../../library:.
"$LEAN" -o eqn_macro1.olean eqn_macro1.lean
"$LEAN" eqn_macro2.lean