3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-06 14:24:08 +00:00

fix test rule

This commit is contained in:
N. Engelhardt 2020-07-24 16:06:44 +02:00
parent a23c76a169
commit b6dc1c9da3

View file

@ -1,9 +1,11 @@
SBY_FILES=$(wildcard *.sby) SBY_FILES=$(wildcard *.sby)
SBY_TESTS=$(addprefix test_,$(SBY_FILES:.sby=)) SBY_TESTS=$(addprefix test_,$(SBY_FILES:.sby=))
.PHONY: test $(SBY_TESTS) .PHONY: test
FORCE:
test: $(SBY_TESTS) test: $(SBY_TESTS)
test_%: %.sby test_%: %.sby FORCE
python3 ../sbysrc/sby.py -f $< python3 ../sbysrc/sby.py -f $<