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

perform style checks in parallel with main build

parent 13d5ab4f
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,9 @@ NO_TEST:=
MAKE_REF:=
# Run tests interleaved with main build. They have to be in the same target for this.
real-all: $(if $(NO_TEST),,test)
real-all: style $(if $(NO_TEST),,test)
# the test suite
TESTFILES:=$(shell find tests -name "*.v")
NORMALIZER:=test-normalizer.sed
test: $(TESTFILES:.v=.vo)
style: $(VFILES)
# Make sure everything imports the options, and all Instance/Argument/Hint are qualified.
$(SHOW)"Performing some style checks..."
$(HIDE)for FILE in $(VFILES); do \
......@@ -20,6 +16,13 @@ test: $(TESTFILES:.v=.vo)
done
# Make sure main Iris does not import other Iris packages.
$(HIDE)if egrep 'iris\.(heap_lang|deprecated|staging)' --include "*.v" -R iris; then echo "ERROR: Iris may not import modules from other Iris packages (see above for violations)."; echo; exit 1; fi
.PHONY: style
# the test suite
TESTFILES:=$(shell find tests -name "*.v")
NORMALIZER:=test-normalizer.sed
test: $(TESTFILES:.v=.vo)
.PHONY: test
COQ_TEST=$(COQTOP) $(COQDEBUG) -batch -test-mode
......
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