Skip to content

testscript: print background command output on failure#148

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

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

Conversation

@rogpeppe

@rogpeppe rogpeppe commented Dec 5, 2021

Copy link
Copy Markdown
Owner

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

myitcv commented Dec 8, 2021

Copy link
Copy Markdown
Collaborator

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

@rogpeppe

rogpeppe commented Dec 8, 2021

Copy link
Copy Markdown
Owner Author

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