mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-23 04:49:15 +00:00
Look for all result files
This commit is contained in:
parent
f9cd49f7b9
commit
903c74e42b
1 changed files with 6 additions and 2 deletions
|
|
@ -104,8 +104,12 @@ ifeq ($(YOSYS_NOVERIFIC),1)
|
|||
endif
|
||||
endif
|
||||
@echo ""
|
||||
@pass=$$(grep -h PASS **/*.result 2>/dev/null | wc -l); \
|
||||
fail=$$(grep -h FAIL **/*.result 2>/dev/null | wc -l); \
|
||||
-@$(MAKE) summary
|
||||
|
||||
.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)); \
|
||||
echo "=========================="; \
|
||||
echo "Tests: $$total"; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue