mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-21 17:44:45 +00:00
Makefile: run-test.mk depends on .sh
Also make the run-test part explicit.
This commit is contained in:
parent
d26aa0e31d
commit
aa43a32551
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -954,8 +954,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…
Add table
Add a link
Reference in a new issue