aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-07 12:13:51 +0100
committerfanquake <fanquake@gmail.com>2022-08-07 12:13:51 +0100
commit5474f5c356c5a17fbf6c84110cf83a5753cd0367 (patch)
treef39e17051a4a6f5e151f1b5488def97894fda906 /src/Makefile.test.include
parentb1a2021f78099c17360dc2179cbcb948059b5969 (diff)
build: fix cleanup of test logs
make clean currently looks for test.cpp.log, when it should be test.log.
Diffstat (limited to 'src/Makefile.test.include')
-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 9ed5731af1..ccaf3f4b32 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -339,7 +339,7 @@ nodist_test_test_bitcoin_SOURCES = $(GENERATED_TEST_FILES)
$(BITCOIN_TESTS): $(GENERATED_TEST_FILES)
-CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno test/fuzz/*.gcda test/fuzz/*.gcno test/util/*.gcda test/util/*.gcno $(GENERATED_TEST_FILES) $(BITCOIN_TESTS:=.log)
+CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno test/fuzz/*.gcda test/fuzz/*.gcno test/util/*.gcda test/util/*.gcno $(GENERATED_TEST_FILES) $(addsuffix .log,$(basename $(BITCOIN_TESTS)))
CLEANFILES += $(CLEAN_BITCOIN_TEST)