From f2b91fce0bc0cc47fbc2e70864e679f6bf2a01d6 Mon Sep 17 00:00:00 2001 From: Louis Chmn Date: Wed, 10 Jun 2026 15:07:25 +0200 Subject: [PATCH] test: Warn about slow startup time for phpunit tests Signed-off-by: Louis Chmn --- autotest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autotest.sh b/autotest.sh index 234ce5fb4de..cb3bc226b98 100755 --- a/autotest.sh +++ b/autotest.sh @@ -385,10 +385,10 @@ function execute_tests { fi COVER='' - if [ -z "$NOCOVERAGE" ]; then - COVER="--coverage-clover autotest-clover-$DB.xml --coverage-html coverage-html-$DB" + if [ -z "$COVERAGE" ]; then + echo "No coverage. Set COVERAGE=1 to enable it." else - echo "No coverage" + COVER="--coverage-clover autotest-clover-$DB.xml --coverage-html coverage-html-$DB" fi echo "$PHPUNIT" --fail-on-warning --fail-on-risky --display-warnings --display-deprecations --display-phpunit-deprecations --colors=always --configuration phpunit-autotest.xml $GROUP $COVER --log-junit "autotest-results-$DB.xml" "$2" "$3"