aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreugene <[email protected]>2020-08-06 00:44:03 -0400
committereugene <[email protected]>2020-08-06 00:44:03 -0400
commit90bd476ea67bd80b35188b5f139f159a3836aa7d (patch)
tree63fd8064105abe2872ff870e4d9bd9c0983f5d0a /src
parentMerge #19669: contrib: Fixup valgrind suppressions file (diff)
downloaddiscoin-90bd476ea67bd80b35188b5f139f159a3836aa7d.tar.xz
discoin-90bd476ea67bd80b35188b5f139f159a3836aa7d.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.test.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 085ebdcb8..c3e46c0de 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -1208,7 +1208,7 @@ nodist_test_test_bitcoin_SOURCES = $(GENERATED_TEST_FILES)
$(BITCOIN_TESTS): $(GENERATED_TEST_FILES)
-CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno $(GENERATED_TEST_FILES) $(BITCOIN_TESTS:=.log)
+CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno test/fuzz/*.gcda test/fuzz/*.gcno $(GENERATED_TEST_FILES) $(BITCOIN_TESTS:=.log)
CLEANFILES += $(CLEAN_BITCOIN_TEST)