Skip to content

Commit 90bd476

Browse files
committed
build: make clean removes .gcda and .gcno files from fuzz directory
With this commit, make clean now removes coverage files from the fuzzing directory. Without this, subsequent fuzzing runs would have garbled coverage signals for files in the fuzz directory as they were never deleted with make clean.
1 parent 19f812c commit 90bd476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile.test.include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ nodist_test_test_bitcoin_SOURCES = $(GENERATED_TEST_FILES)
12081208

12091209
$(BITCOIN_TESTS): $(GENERATED_TEST_FILES)
12101210

1211-
CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno $(GENERATED_TEST_FILES) $(BITCOIN_TESTS:=.log)
1211+
CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno test/fuzz/*.gcda test/fuzz/*.gcno $(GENERATED_TEST_FILES) $(BITCOIN_TESTS:=.log)
12121212

12131213
CLEANFILES += $(CLEAN_BITCOIN_TEST)
12141214

0 commit comments

Comments
 (0)