Opened 7 years ago
Closed 7 years ago
#41916 closed defect (bug) (fixed)
Exit early when test suite's install.php script cannot connect to the database
Reported by: | danielbachhuber | Owned by: | dd32 |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 41966: