1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: James Valleroy <jvalleroy@mailbox.org>
Date: Sat, 9 Dec 2023 07:36:40 -0500
Subject: Makefile: Remove code coverage during test
Forwarded: not-needed
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 3710210..357d411 100644
--- a/Makefile
+++ b/Makefile
@@ -72,13 +72,13 @@ test: translate
@echo "-------"
@echo "PHPUNIT"
@echo "-------"
- @mkdir -p sandbox coverage
- @phpunit --coverage-php coverage/main.cov --bootstrap tests/bootstrap.php --testsuite unit-tests
+ @mkdir -p sandbox
+ @phpunit --no-coverage --bootstrap tests/bootstrap.php --testsuite unit-tests
locale_test_%:
@UT_LOCALE=$*.utf8 \
phpunit \
- --coverage-php coverage/$(firstword $(subst _, ,$*)).cov \
+ --no-coverage \
--bootstrap tests/languages/bootstrap.php \
--testsuite language-$(firstword $(subst _, ,$*))
|