Commit 862c6904 authored by Ralf Jung's avatar Ralf Jung

tweak COQTEST output

parent b1d043ef
Pipeline #15521 passed with stage
in 11 minutes and 12 seconds
......@@ -23,12 +23,11 @@ $(TESTFILES:.v=.vo): %.vo: %.v $(if $(MAKE_REF),,%.ref)
else \
REF="tests/$$TEST.ref"; \
fi && \
echo "COQTEST$(if $(MAKE_REF), [make ref],$(if $(COQ_OLD), [no ref],)) $$REF" && \
echo "COQTEST$(if $(COQ_OLD), [no ref],$(if $(MAKE_REF), [make ref],)) $<$(if $(COQ_OLD),, (ref: $$REF))" && \
TMPFILE="$$(mktemp)" && \
$(TIMER) $(COQ_TEST) $(COQFLAGS) $(COQLIBS) -load-vernac-source $< > "$$TMPFILE" && \
$(if $(MAKE_REF), \
mv "$$TMPFILE" "$$REF", \
$(if $(COQ_OLD),true,diff -u "$$REF" "$$TMPFILE") \
$(if $(COQ_OLD),true, \
$(if $(MAKE_REF),mv "$$TMPFILE" "$$REF",diff -u "$$REF" "$$TMPFILE") \
) && \
rm -f "$$TMPFILE" && \
touch $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment