3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-04-23 20:33:32 +00:00

Convert memories tests

This commit is contained in:
Miodrag Milanovic 2026-03-18 08:46:58 +01:00
parent 77147fb0db
commit 92bdccf2be
5 changed files with 65 additions and 101 deletions

View file

@ -79,8 +79,7 @@ MK_TEST_DIRS += ./asicworld
#endif
# Tests that don't generate .mk and need special args
SH_ABC_TEST_DIRS =
#SH_ABC_TEST_DIRS += ./memories
MK_TEST_DIRS += ./memories
MK_TEST_DIRS += ./aiger
MK_TEST_DIRS += ./alumacc
@ -94,13 +93,6 @@ 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
+cd $* && bash run-test.sh $(ABCOPT) $(SEEDOPT)
+@echo "...passed tests in $*"
# makefile-./ is a dummy string, not a directory
.PHONY: makefile-tests
.SILENT: $(MK_TEST_DIRS:%=%/Makefile)
@ -117,7 +109,7 @@ makefile-./%: %/Makefile
@$(MAKE) -C $*
@echo "...passed tests in $*"
vanilla-test: makefile-tests abcopt-tests seed-tests
vanilla-test: makefile-tests seed-tests
@echo ""
@echo " Passed \"make vanilla-test\"."
ifeq ($(ENABLE_VERIFIC),1)