Files
lean4/tests/server_interactive/run_test
Garmelon 6a2a884372 chore: migrate pkg tests (#12889)
Also refactor util.sh in the process, so test scripts become easier to
write (inspired in part by lake's test suite).
2026-03-11 18:55:46 +00:00

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