BROWSERTEST_OUTPUT_VERBOSE is not passed to run-tests.sh when running with it

Created on 21 September 2024, 4 months ago

Problem/Motivation

BROWSERTEST_OUTPUT_VERBOSE is not passed to run-tests.sh when running PHPUnit tests with concurrency on.

The variable works fine when running without concurrency on standard PHPUnit CLI.

Steps to reproduce

Set BROWSERTEST_OUTPUT_VERBOSE to "false" and _PHPUNIT_CONCURRENT to '1', run functional tests and see the full list of links to generated html output; switch _PHPUNIT_CONCURRENT to '0' and see just the count of pages generated.

I think this is due to the processes being run under sudo. However, while the direct call to PHPUnit CLI uses -E to preserve the environment variables, when calling run-tests.sh just two variables are passed in.

Proposed resolution

Set the -E option also when running via run-tests.sh

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

gitlab-ci

Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024