3
0
Fork 0
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:
Krystine Sherwin 2026-01-19 16:20:45 +13:00
parent d26aa0e31d
commit aa43a32551
No known key found for this signature in database

View file

@ -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