aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-10-10 00:39:26 -0300
committerMarcoFalke <falke.marco@gmail.com>2018-10-10 00:40:16 -0300
commitdc8e6d04ea4f9ceeec062adc45c117d949c59396 (patch)
tree66fb071d686904fd738c4904a6b723e7c3f59921
parent1d1417430c829a0c21bf5a2fe4a5b2f592a9423f (diff)
parenta48e44bd4f55635b2fd7bed482bbdf73a52e8e5c (diff)
Merge #14455: build: unbreak `make clean`
a48e44bd4f Fix CLEAN_BITCOIN_TEST to remove .log files for all BITCOIN_TESTS files (James O'Beirne) Pull request description: My preferred alternative to https://github.com/bitcoin/bitcoin/pull/14440 (I'm too lazy to review an entire file move). This just applies a `.log` suffix addition to all `BITCOIN_TESTS` files for the purposes of cleaning, and thus doesn't erroneously remove test/scriptnum10.h. Tree-SHA512: 06a0d9fb2c4851f4e74215aa4bca9cf81f49787f16c46b0172e5c1cf18ca744d747c5b0c1564cac433e0dea29b0afabd2d95f0f58a0157d1e05b2b7cb7800e00
-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 203ac4b8b0..76a5a07d9f 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -161,7 +161,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:.cpp=.cpp.log)
+CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno $(GENERATED_TEST_FILES) $(BITCOIN_TESTS:=.log)
CLEANFILES += $(CLEAN_BITCOIN_TEST)