Merge pull request #61141 from nextcloud/artonge/test/warn_about_slow_startup_time

test: Warn about slow startup time for phpunit tests
This commit is contained in:
Louis 2026-06-10 15:53:00 +02:00 committed by GitHub
commit 20926ea9dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"