blob: 10f16aa1a29f6bf992fcc8fe1f844ba411e82821 [file]
source_init "$1"
run_before "$1"
maybe_use_lean_header_snapshot "$1"
# `--root` to infer same private names as in the server
# Elab.inServer to allow for arbitrary `#eval`
capture_only "$1" \
lean --root=.. -DprintMessageEndPos=true -Dlinter.all=false -DElab.inServer=true "${TEST_LEAN_ARGS[@]}" "$1"
normalize_mvar_suffixes
normalize_reference_urls
normalize_measurements
check_out_file
check_exit_is_fail
run_after "$1"