lean4-htt/tests/server_interactive/run_test.sh
Garmelon 6b7f0ad5fc
chore: check test output before exit code in piles (#12947)
This improves the feedback when tests fail. Getting a diff is more
useful than a vague exit code.
2026-03-17 16:34:21 +00:00

11 lines
343 B
Bash

# 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
# these tests don't have to succeed
capture_only "$1" \
lean -Dlinter.all=false --run run_test.lean "$1"
normalize_mvar_suffixes
normalize_reference_urls
check_out_file
check_exit_is_success