tests: Remove unused tool list in test Makefile
[SymbiYosys.git] / tests / Makefile
1 test:
2
3 .PHONY: test clean refresh help
4
5 help:
6 @cat make/help.txt
7
8 export SBY_WORKDIR_GITIGNORE=1
9 export SBY_MAIN=$(realpath $(dir $(firstword $(MAKEFILE_LIST)))/../sbysrc/sby.py)
10
11 make/rules/collect.mk: make/collect_tests.py
12 python3 make/collect_tests.py
13
14 make/rules/test/%.mk:
15 python3 make/test_rules.py $<
16
17 ifneq (help,$(MAKECMDGOALS))
18
19 # This should run every time but only trigger anything depending on it whenever
20 # the script overwrites make/rules/found_tools. This doesn't really match how
21 # make targets usually work, so we manually shell out here.
22
23 FIND_TOOLS := $(shell python3 make/required_tools.py || echo error)
24
25 ifneq (,$(findstring error,$(FIND_TOOLS)))
26 $(error could not run 'python3 make/required_tools.py')
27 endif
28
29 ifneq (,$(FIND_TOOLS))
30 $(warning $(FIND_TOOLS))
31 endif
32
33 include make/rules/collect.mk
34
35 endif