mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 10:24:07 +00:00
Also refactor util.sh in the process, so test scripts become easier to write (inspired in part by lake's test suite).
12 lines
301 B
Bash
Executable File
12 lines
301 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source ../env_test.sh
|
|
|
|
# IO.Process.exit (used by the file worker) seems to be incompatible with LSAN
|
|
# TODO: investigate or work around
|
|
export ASAN_OPTIONS=detect_leaks=0
|
|
|
|
capture_only "$1" \
|
|
lean -Dlinter.all=false --run run_test.lean "$1"
|
|
check_exit_is_success
|
|
check_out_file
|