mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-26 07:43:42 +00:00
test-docs: target examples directly
This commit is contained in:
parent
4ac983e56c
commit
2a14c72110
1 changed files with 6 additions and 2 deletions
|
@ -230,8 +230,12 @@ PYTHON ?= python3
|
||||||
.PHONY: test test-examples test-macros
|
.PHONY: test test-examples test-macros
|
||||||
test: test-examples test-macros
|
test: test-examples test-macros
|
||||||
|
|
||||||
test-examples:
|
FORCE:
|
||||||
$(MAKE) -C source/_images examples
|
../%/Makefile: FORCE
|
||||||
|
+$(MAKE) -C $(@D)
|
||||||
|
|
||||||
|
CODE_EXAMPLES := source/code_examples/*/Makefile
|
||||||
|
test-examples: $(CODE_EXAMPLES)
|
||||||
|
|
||||||
test-macros:
|
test-macros:
|
||||||
$(PYTHON) tests/macro_commands.py
|
$(PYTHON) tests/macro_commands.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue