Use MODULE variable for tests
Instead of listing out tested modules each time, use a variable. Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
50c1080ba4
commit
86aee33477
4
Makefile
4
Makefile
|
@ -63,8 +63,10 @@ endef
|
||||||
%.post.fst: rtl/%.post.vvp tb/%.py FORCE
|
%.post.fst: rtl/%.post.vvp tb/%.py FORCE
|
||||||
$(run-vvp)
|
$(run-vvp)
|
||||||
|
|
||||||
|
MODULES := pcs pmd
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: $(addsuffix .fst,pcs pmd) $(addsuffix .post.fst,pcs pmd)
|
test: $(addsuffix .fst,$(MODULES)) $(addsuffix .post.fst,$(MODULES))
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue