Skip to content

Conversation

@microdev1
Copy link
Collaborator

Remove Print failure info from CI as in the case of a failure the ui defaults to showing it, hiding whatever fails above.

jepler added a commit to jepler/circuitpython that referenced this pull request Mar 5, 2021
Print Failure Info is for printing differences detected by 'Test all'.  When some other step fails, then "*.exp" doesn't match any files at all, and _this_ step fails too.

Following https://stackoverflow.com/questions/4839214/does-ash-have-an-equivalent-to-bashs-nullglob-option detect when "*.exp" doesn't match anything and avoid an error.

This is hard to test, so testing performed: Looked at 7 lines of shell script and was unable to see any problems.

This is an alternative to adafruit#4334, which would remove the step entirely. It is undesirable to do that, as we wouldn't be able to see the information about the failures that occurred anymore.
jepler added a commit to jepler/circuitpython that referenced this pull request Mar 5, 2021
Print Failure Info is for printing differences detected by 'Test all'.  When some other step fails, then "*.exp" doesn't match any files at all, and _this_ step fails too.

Following https://stackoverflow.com/questions/4839214/does-ash-have-an-equivalent-to-bashs-nullglob-option detect when "*.exp" doesn't match anything and avoid an error.

This is hard to test, so testing performed: Looked at 7 lines of shell script and was unable to see any problems.

This is an alternative to adafruit#4334, which would remove the step entirely. It is undesirable to do that, as we wouldn't be able to see the information about the failures that occurred anymore.
@dhalbert
Copy link
Collaborator

dhalbert commented Mar 5, 2021

Closing in favor of #4340.

@dhalbert dhalbert closed this Mar 5, 2021
@microdev1 microdev1 deleted the update-ci branch March 6, 2021 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants