Skip to content
Snippets Groups Projects
Commit 83cae35a authored by Patrick Baudin's avatar Patrick Baudin
Browse files

[Testing] counts the number of generated *.res.log

parent 3fbe9f57
No related branches found
No related tags found
No related merge requests found
......@@ -160,6 +160,10 @@ tests.update-wp-cache: config.sed
.PHONY: tests
ifneq ($(FRAMAC_WP_CACHEDIR),)
tests: run-tests
echo "Number of *.res.log files:"
find $(addprefix _build/default/,$(PTEST_DIRS)) -name \*.res.log \
| $(GREP) -c "^"
else
tests: run-tests
@echo "Warning: cannot run some tests related to WP plugin since FRAMAC_WP_CACHEDIR variable is undefined."
......@@ -169,6 +173,12 @@ tests: run-tests
@echo "> FRAMAC_WP_CACHEDIR=<DIR>/wp-cache make tests"
endif
.PHONY: count-tests
count-tests:
echo "Number of *.res.log files:"
find $(addprefix _build/default/,$(PTEST_DIRS)) -name \*.res.log \
| $(GREP) -c "^"
###############################################################################
# Local Variables:
# compile-command: "make"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment