3
0
Fork 0
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:
Miodrag Milanovic 2026-03-13 10:10:34 +01:00
parent f9cd49f7b9
commit 903c74e42b

View file

@ -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"; \