Force flush streams in tests for #1514

This avoids the problem where writes to stderr/stdout stop being
line-buffered when stderr/stdout is redirected to a file, which led
to different order of outputs between Linux and Windows in our tests.
This commit is contained in:
Martin Hořeňovský
2019-03-06 21:53:17 +01:00
parent bd667f4d69
commit 1a03918455
5 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
Nor would this
This would not be caught previously
Nor would this
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<exe-name> is a <version> host application.