mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-21 14:38:40 +00:00
Add examples build to regression Makefile
This commit is contained in:
parent
719b013b88
commit
8fd5a202e8
@ -9,3 +9,4 @@ $(ALL_DIRS):
|
||||
|
||||
clean:
|
||||
rm -rf */srdl2sv_out
|
||||
rm -rf */obj_dir
|
||||
|
@ -1,9 +1,9 @@
|
||||
ALL_COCOTB_TESTS = $(shell ls cocotb_tests/test_*.py | sed -E 's|.*?/test_(.*?).py|\1|g')
|
||||
|
||||
.PHONY: clean
|
||||
.PHONY: clean examples
|
||||
.PRECIOUS: build_dirs/%/compile.f
|
||||
|
||||
default: $(ALL_COCOTB_TESTS)
|
||||
default: $(ALL_COCOTB_TESTS) examples
|
||||
@echo ""
|
||||
@echo "-------------------------------------------------------------------------------"
|
||||
@echo "Showing all FAILs in simulation logs:"
|
||||
@ -49,5 +49,11 @@ build_dirs/%/compile.f: systemrdl/%.rdl $(shell which srdl2sv)
|
||||
ls $(PWD)/$(@D)/*amba*.sv >> $@
|
||||
ls $(PWD)/$(@D)/*.sv | grep -v '.*_if.sv$$' | grep -v '.*amba.*' >> $@
|
||||
|
||||
examples:
|
||||
# Make examples. This does not flag any functional issues, but if
|
||||
# a change breaks compilation, this will flag it.
|
||||
make -C ../examples/
|
||||
|
||||
clean:
|
||||
rm -rf build_dirs
|
||||
make -C ../examples/ clean
|
||||
|
Loading…
Reference in New Issue
Block a user