Skip to content
Snippets Groups Projects
Commit b1d043ef authored by Ralf Jung's avatar Ralf Jung
Browse files

make NO_TEST=1 skips the tests

parent 267cc708
No related branches found
No related tags found
No related merge requests found
Pipeline #15518 passed
# 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), \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment