blob: c16b5b0a218d2ff2c18d00cdef117cfe800a91fa [file]
source_init "$1"
run_before "$1"
TOPIC="elab/$(basename "$1" .lean)"
rm -f "$1.measurements.jsonl"
# `--root` to infer same private names as in the server
# Elab.inServer to allow for arbitrary `#eval`
capture_and_measure "$1" "$TOPIC" \
lean --root=.. -DprintMessageEndPos=true -Dlinter.all=false -DElab.inServer=true "${TEST_LEAN_ARGS[@]}" "$1"
normalize_mvar_suffixes
normalize_reference_urls
extract_measurements "$TOPIC"
check_exit_is_success
run_after "$1"