aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sva/Makefile
blob: dcabcf42ba463eb33cadabb11e83b0d3b349b2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TESTS = $(sort $(basename $(wildcard *.sv)) $(basename $(wildcard *.vhd)))

all: $(addsuffix .ok,$(TESTS))

%.ok:
	bash runtest.sh $@

clean:
	rm -rf $(addsuffix .ok,$(TESTS)) $(addsuffix .sby,$(TESTS)) $(TESTS)
	rm -rf $(addsuffix _pass.sby,$(TESTS)) $(addsuffix _pass,$(TESTS))
	rm -rf $(addsuffix _fail.sby,$(TESTS)) $(addsuffix _fail,$(TESTS))
	rm -rf $(addsuffix .fst,$(TESTS))