Opened 9 years ago
Closed 9 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 41966: