Commit 0e93abd
authored
Ensure
Swift Package Manager reroutes test output through pipes which are
block-buffered by default, but convention in C is that `stdout` is
line-buffered. This results (when using `swift test`) in output to
`stdout` (e.g. from `print()`) not being displayed until after most test
events have been displayed.
### 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.stdout is line-buffered when testing starts. (#568)1 parent 2802522 commit 0e93abd
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
72 | 81 | | |
73 | 82 | | |
74 | 83 | | |
0 commit comments