Also refactor util.sh in the process, so test scripts become easier to write (inspired in part by lake's test suite).
11 lines
170 B
Bash
Executable file
11 lines
170 B
Bash
Executable file
#!/usr/bin/env bash
|
|
source ../env_test.sh
|
|
|
|
run_before "$1"
|
|
|
|
capture_only "$1" \
|
|
lean -Dlinter.all=false --run "$1"
|
|
check_exit_is_success
|
|
check_out_file
|
|
|
|
run_after "$1"
|