3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-30 05:46:32 +00:00

Integrate tests

This commit is contained in:
Miodrag Milanovic 2026-05-26 15:39:15 +02:00
parent ed263d26cc
commit 25b6a1f651
3 changed files with 26 additions and 6 deletions

View file

@ -1,6 +1,11 @@
OVERRIDE_MAIN=1
include ./common.mk
SEED ?=
ifneq ($(strip $(SEED)),)
SEEDOPT_GEN := -S$(SEED)
endif
# Directories with tests not run:
# errors
# lut
@ -87,7 +92,7 @@ prep: $(MK_TEST_DIRS:%=%/Makefile)
.PHONY: force-create
# this target actually emits Makefile files
%/Makefile: force-create
+@cd $* && python3 generate_mk.py
+@cd $* && python3 generate_mk.py $(SEEDOPT_GEN)
makefile-./%: %/Makefile
@$(MAKE) -C $*