mirror of https://github.com/YosysHQ/yosys.git
Makefile: run-test.mk depends on .sh
Also make the run-test part explicit.
This commit is contained in:
parent
c1bc302174
commit
ae5ac17e3f
4
Makefile
4
Makefile
|
|
@ -1005,8 +1005,8 @@ abcopt-tests/%: %/run-test.sh $(TARGETS) $(EXTRA_TARGETS)
|
|||
.PHONY: makefile-tests
|
||||
makefile-tests: $(MK_TEST_DIRS:%=makefile-tests/%)
|
||||
# this target actually emits .mk files
|
||||
%.mk:
|
||||
+cd $(dir $*) && bash run-test.sh
|
||||
%/run-test.mk: %/run-test.sh
|
||||
+cd $* && bash run-test.sh
|
||||
# this one spawns submake on each
|
||||
makefile-tests/%: %/run-test.mk $(TARGETS) $(EXTRA_TARGETS)
|
||||
$(MAKE) -C $* -f run-test.mk
|
||||
|
|
|
|||
Loading…
Reference in New Issue