Problem/Motivation
This issue is a child of #2680713: Handle missing @groups
In that issue, we discovered that missing @group errors are swallowed by the testbot because they are echo'd to stdout, but the testbot is piping stdout to a file.
In order to fix this, we have to change run-tests.sh to output errors to stderr instead.
This issue is scoped for changing the output of run-tests.sh --list in this way.
Proposed resolution
Have run-tests.sh output exception errors using error_log().
Remaining tasks
Change other output of run-tests.sh in a similar way, since it seems like a good idea anyway: #2808541: Make run-tests.sh better behaved with error_log()
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | 2807271_3_test.patch | 814 bytes | Mile23 |
| |||
#2 | 2807271_2.patch | 369 bytes | Mile23 |
Comments
Comment #2
Mile23Le patch.
Comment #3
Mile23Here's a patch which should fail due to missing @group, alongside the changes to run-tests.sh.
We should see a missing @group message in the jenkins console log.
EDIT: And we do. See https://dispatcher.drupalci.org/job/default/222797/console
Comment #5
Mile23Comment #6
MixologicThis will save a lot of support burden for the DrupalCI maintainers.
Comment #7
alexpottSince this is a change to run-tests.sh and directly improves peoples ability to contribute with 0 risks to a working site I think this is rc eligible.
Committed and pushed c802506 to 8.3.x and 1878499 to 8.2.x. Thanks!
Comment #10
Mile23