We only look for failures but not errors. The first error is fatal btw, notice or not. I am not sure on how to write a test for this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm’s picture

Priority: Normal » Major

This is pretty serious.

chx’s picture

Priority: Major » Normal
FileSize
6 KB

Here's a test, mostly written by msonnabaum. Don't forget to credit him. Also, I added an additional safeguard for the case of 'No tests were ran'.

chx’s picture

Priority: Normal » Major

xpost.

msonnabaum’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me if testbot comes back ok.

no_commit_credit’s picture

Test-only patch to (presumably) expose the coverage.

xjm’s picture

#5: 1949266_1.patch queued for re-testing.

xjm’s picture

Issue tags: +Quick fix
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.