Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd6ecad8

Browse files
committed
Be more thorough about cleaning out gcov litter.
At least on my machine, a run with code coverage enabled produces some".gcov" files whose names begin with ".". "rm -f *.gcov" fails to matchthose, so they don't get cleaned up by "make clean". Fix it.
1 parent3c8de95 commitd6ecad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Makefile.global.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ ifeq ($(enable_coverage), yes)
878878
gcda_files :=$(wildcard*.gcda)
879879

880880
lcov.info:$(gcda_files)
881-
rm -f*.gcov
881+
rm -f*.gcov .*.gcov
882882
$(if$^,$(LCOV) -d . -c -o$@$(LCOVFLAGS) --gcov-tool$(GCOV))
883883

884884
%.c.gcov:%.gcda | lcov.info
@@ -899,7 +899,7 @@ clean distclean maintainer-clean: clean-coverage
899899
.PHONY: clean-coverage
900900
clean-coverage:
901901
rm -rf coverage
902-
rm -f*.gcda*.gcno lcov.info*.gcov*.gcov.out
902+
rm -f*.gcda*.gcno lcov.info*.gcov.*.gcov*.gcov.out
903903

904904

905905
# User-callable target to reset counts between test runs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp