You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emit "barriers" into the stdout/stderr streams of an exit test. (swiftlang#1049)
This PR causes Swift Testing to write "barriers" (known sequences of
bytes) to `stdout` and `stderr` in the child process created by an exit
test. Then, in the parent, these values are used to splice off any
leading or trailing output that wasn't generated by the exit test's body
(such as content generated by the host process, XCTest/Xcode, etc.)
This reduces the amount of extraneous data reported back to the exit
test's parent process.
Thanks to @briancroom for the suggestion.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments