Make WordPress Core

Opened 4 weeks ago

#41916 new defect (bug)

Exit early when test suite's install.php script cannot connect to the database

Reported by: danielbachhuber Owned by:
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:


If tests/phpunit/includes/install.php cannot connect to the database, it currently dumps HTML to STDOUT.

For scripts driving the test suite, it would be more helpful to exit early with return code 1 to designate the failure.

Related https://github.com/WordPress/phpunit-test-reporter/issues/43

Attachments (1)

41916.1.diff (2.1 KB) - added by danielbachhuber 4 weeks ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.