diff options
author | teor <teor@torproject.org> | 2019-04-01 13:49:27 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-04-01 14:06:52 +1000 |
commit | 57e9fe2bbaa66ee907d68cdf7ebcf2111bd71ac9 (patch) | |
tree | bbe540595b99bae9a02af15fcf2e706063ccf033 | |
parent | eb0bd18d6e344c574614d6d53e2f7cead92c3178 (diff) | |
download | tor-57e9fe2bbaa66ee907d68cdf7ebcf2111bd71ac9.tar.gz tor-57e9fe2bbaa66ee907d68cdf7ebcf2111bd71ac9.zip |
Makefile: delete all the gcov-related files in reset-gcov
And fix a comment.
See:
https://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html#Gcov-Data-Files
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Makefile.am | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 336b67d299..456b5abc56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -168,7 +168,7 @@ after_failure: - if [[ "$DISTCHECK" != "" ]]; then make show-distdir-testlog || echo "make failed"; fi before_cache: - # Delete all .gcda files. + ## Delete all gcov files. - if [[ "$COVERAGE_OPTIONS" != "" ]]; then make reset-gcov; fi notifications: diff --git a/Makefile.am b/Makefile.am index e4be3f26f9..4b1687f921 100644 --- a/Makefile.am +++ b/Makefile.am @@ -149,7 +149,9 @@ test-full: need-stem-path need-chutney-path check test-network test-stem test-full-online: need-stem-path need-chutney-path check test-network test-stem-full reset-gcov: - rm -f $(top_builddir)/src/*/*.gcda $(top_builddir)/src/*/*/*.gcda + rm -f $(top_builddir)/src/*/*.gcda $(top_builddir)/src/*/*/*.gcda \ + $(top_builddir)/src/*/*.gcno $(top_builddir)/src/*/*/*.gcno \ + $(top_builddir)/src/*/*.gcov $(top_builddir)/src/*/*/*.gcov HTML_COVER_DIR=$(top_builddir)/coverage_html coverage-html: all |