Skip to content

Commit d42522e

Browse files
kmk324aduh95
authored andcommitted
build: fix make errors that occur in Makefile
fix make errors that occur in coverage-clean case and coverage-test in Makefile PR-URL: #55287 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent bdc2c3b commit d42522e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ coverage-clean: ## Remove coverage artifacts.
243243
$(RM) -r coverage/tmp
244244
@if [ -d "out/Release/obj.target" ]; then \
245245
$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
246-
-type f -exec $(RM) {};\
246+
-type f | xargs $(RM); \
247247
fi
248248

249249
.PHONY: coverage
@@ -269,7 +269,7 @@ coverage-build-js: ## Build JavaScript coverage files.
269269
.PHONY: coverage-test
270270
coverage-test: coverage-build ## Run the tests and generate a coverage report.
271271
@if [ -d "out/Release/obj.target" ]; then \
272-
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f -exec $(RM) {}; \
272+
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f | xargs $(RM); \
273273
fi
274274
-NODE_V8_COVERAGE=coverage/tmp \
275275
TEST_CI_ARGS="$(TEST_CI_ARGS) --type=coverage" $(MAKE) $(COVTESTS)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy