Commit b1d043ef authored by Ralf Jung's avatar Ralf Jung

make NO_TEST=1 skips the tests

parent 267cc708
Pipeline #15518 passed with stage
in 12 minutes and 41 seconds
# run tests with main build
real-all: test
# Run tests interleaved with main build. They have to be in the same target for this.
real-all: $(if $(NO_TEST),,test)
# the test suite
TESTFILES=$(wildcard tests/*.v)
......@@ -23,7 +23,7 @@ $(TESTFILES:.v=.vo): %.vo: %.v $(if $(MAKE_REF),,%.ref)
else \
REF="tests/$$TEST.ref"; \
fi && \
echo $(if $(MAKE_REF),"COQTEST [make ref] `basename "$$REF"`","COQTEST$(if $(COQ_OLD), [ignored],) `basename "$$REF"`") && \
echo "COQTEST$(if $(MAKE_REF), [make ref],$(if $(COQ_OLD), [no ref],)) $$REF" && \
TMPFILE="$$(mktemp)" && \
$(TIMER) $(COQ_TEST) $(COQFLAGS) $(COQLIBS) -load-vernac-source $< > "$$TMPFILE" && \
$(if $(MAKE_REF), \
......
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