mirror of
https://github.com/YosysHQ/yosys
synced 2026-04-27 14:23:37 +00:00
Make sure targets are built for tests
This commit is contained in:
parent
108a9133d0
commit
1a864c72ae
2 changed files with 4 additions and 4 deletions
|
|
@ -71,14 +71,14 @@ all: vanilla-test
|
|||
.PHONY: seed-tests
|
||||
seed-tests: $(SH_TEST_DIRS:%=seed-./%)
|
||||
.PHONY: seed-./%
|
||||
seed-./%: %/run-test.sh $(TARGETS) $(EXTRA_TARGETS)
|
||||
seed-./%: %/run-test.sh
|
||||
+cd $* && bash run-test.sh $(SEEDOPT)
|
||||
+@echo "...passed tests in $*"
|
||||
|
||||
# abcopt-./ is a dummy string, not a directory
|
||||
.PHONY: abcopt-tests
|
||||
abcopt-tests: $(SH_ABC_TEST_DIRS:%=abcopt-./%)
|
||||
abcopt-./%: %/run-test.sh $(TARGETS) $(EXTRA_TARGETS)
|
||||
abcopt-./%: %/run-test.sh
|
||||
+cd $* && bash run-test.sh $(ABCOPT) $(SEEDOPT)
|
||||
+@echo "...passed tests in $*"
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ makefile-tests: $(MK_TEST_DIRS:%=makefile-./%)
|
|||
%.mk:
|
||||
+cd $(dir $*) && bash run-test.sh
|
||||
# this one spawns submake on each
|
||||
makefile-./%: %/run-test.mk $(TARGETS) $(EXTRA_TARGETS)
|
||||
makefile-./%: %/run-test.mk
|
||||
$(MAKE) -C $* -f run-test.mk
|
||||
+@echo "...passed tests in $*"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue