diff options
| author | Leitwolf11 | 2026-10-24 14:21:11 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-24 14:21:11 +0300 |
| commit | 906a47a04fe0be9e7e6769d8cae59b4b1d286460 (patch) | |
| tree | 9193c87437158c60dbb689868bd3722794839dc2 /src/Progmasoft/Runner/Protocol.cpp | |
| parent | e18f19b7dd70c99fbcf2b3fe812ee18dabc92663 (diff) | |
| download | catch3-906a47a04fe0be9e7e6769d8cae59b4b1d286460.tar.gz | |
Send what listeners print at start-up in the worker's greeting
Listeners that print while they are created raced with the first test:
the text went through the worker's error stream and could reach the
runner after it had given the worker a test, which then claimed it as its
own output. The worker now captures Catch2's standard streams while it
creates the listeners and starts the run, sends the text in its hello
message, and the runner writes it to its standard error.
Catch2's stream redirect now remembers the buffer to restore when a
redirect starts rather than when it is made, so a stream whose buffer
changed in between is restored to the right one.
Diffstat (limited to 'src/Progmasoft/Runner/Protocol.cpp')
0 files changed, 0 insertions, 0 deletions