From db60d211a16ae1a315119fab4c097843f7c01932 Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Fri, 3 Dec 2021 21:31:01 -0500 Subject: [PATCH] unset OCAMLRUNPARAM for test suite --- Makefile.coq.local | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.coq.local b/Makefile.coq.local index 7dea713f..a5fe96a7 100644 --- a/Makefile.coq.local +++ b/Makefile.coq.local @@ -35,6 +35,7 @@ tests/.coqdeps.d: $(TESTFILES) # Main test script (comments out-of-line because macOS otherwise barfs?!?) # - Determine reference file (`REF`). # - Print user-visible status line. +# - unset env vars that change Coq's output # - Dump Coq output into a temporary file. # - Run `sed -i` on that file in a way that works on macOS. # - Either compare the result with the reference file, or move it over the reference file. @@ -47,6 +48,7 @@ $(TESTFILES:.v=.vo): %.vo: %.v $(if $(MAKE_REF),,%.ref) $(NORMALIZER) fi && \ echo "COQTEST$(if $(MAKE_REF), [make ref],) $< (ref: $$REF)" && \ TMPFILE="$$(mktemp)" && \ + unset OCAMLRUNPARAM && \ $(TIMER) $(COQ_TEST) $(COQFLAGS) $(COQLIBS) -load-vernac-source $< > "$$TMPFILE" && \ sed -f $(NORMALIZER) "$$TMPFILE" > "$$TMPFILE".new && \ mv "$$TMPFILE".new "$$TMPFILE" && \ -- GitLab