mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-30 21:57:47 +00:00
Look for all result files
This commit is contained in:
parent
b361569abf
commit
45bb0413bf
1 changed files with 6 additions and 2 deletions
|
|
@ -104,8 +104,12 @@ ifeq ($(YOSYS_NOVERIFIC),1)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@echo ""
|
@echo ""
|
||||||
@pass=$$(grep -h PASS **/*.result 2>/dev/null | wc -l); \
|
-@$(MAKE) summary
|
||||||
fail=$$(grep -h FAIL **/*.result 2>/dev/null | wc -l); \
|
|
||||||
|
.PHONY: summary
|
||||||
|
summary:
|
||||||
|
@pass=$$(find . -type f -name '*.result' -exec grep '^PASS$$' {} + | wc -l); \
|
||||||
|
fail=$$(find . -type f -name '*.result' -exec grep '^FAIL$$' {} + | wc -l); \
|
||||||
total=$$((pass + fail)); \
|
total=$$((pass + fail)); \
|
||||||
echo "=========================="; \
|
echo "=========================="; \
|
||||||
echo "Tests: $$total"; \
|
echo "Tests: $$total"; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue