3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-10 16:07:07 +00:00
sby/tests/make/subdir.mk
Jannis Harder 8da6f07cb3 Refactor tests
Organize tests into subdirectories and use a new makefile that scans
.sby files and allows selecting tests by mode, engine, solver and/or
subdirectory. Automatically skips tests that use engines/solvers that
are not found in the PATH.

See `cd tests; make help` for a description of supported make targets.
2022-04-11 17:50:38 +02:00

16 lines
199 B
Makefile

test:
@$(MAKE) -C .. $(SUBDIR)/$@
.PHONY: test refresh IMPLICIT_PHONY
IMPLICIT_PHONY:
refresh:
@$(MAKE) -C .. refresh
help:
@$(MAKE) -C .. help
%: IMPLICIT_PHONY
@$(MAKE) -C .. $(SUBDIR)/$@