lean4-htt/tests/plugin/test_single.sh
Sebastian Ullrich 053d4bab1c chore: factor out and unify common test behavior; retrieve lean from PATH
`./test_single.sh foo.lean yes` is now `./test_single.sh -i foo.lean`
2020-05-14 14:38:52 +02:00

7 lines
156 B
Bash
Executable file

#!/usr/bin/env bash
source ../common.sh
compile_lean -shared -o "${f%.lean}.so"
expected_ret=1
exec_check lean --plugin="${f%.lean}.so" "$f"
diff_produced