Skip to content

testscript: print background command output on failure#148

Merged
rogpeppe merged 1 commit intomasterfrom
029-background-output-on-failure
Jan 12, 2022
Merged

testscript: print background command output on failure#148
rogpeppe merged 1 commit intomasterfrom
029-background-output-on-failure

Conversation

@rogpeppe
Copy link
Copy Markdown
Owner

@rogpeppe rogpeppe commented Dec 5, 2021

When a script has failed, the output of the commands running in the
background can be useful to see, so display it then and also in verbose
mode.

When a script has failed, the output of the commands running in the
background can be useful to see, so display it then and also in verbose
mode.
@rogpeppe rogpeppe requested a review from myitcv December 5, 2021 12:41
@myitcv
Copy link
Copy Markdown
Collaborator

myitcv commented Dec 8, 2021

Interesting. I've needed something similar in the past. Can we add a test to cover this?

@rogpeppe
Copy link
Copy Markdown
Owner Author

rogpeppe commented Dec 8, 2021

I thought about adding a test but couldn't think of a straightforward way to do it without changing the whole testing infrastructure we've got going here. Any suggestions?

@rogpeppe
Copy link
Copy Markdown
Owner Author

I'm going to merge this for now.

@rogpeppe rogpeppe merged commit dc66b32 into master Jan 12, 2022
@mvdan mvdan deleted the 029-background-output-on-failure branch January 30, 2025 22:29
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