diff options
author | Martin Storsjö <martin@martin.st> | 2021-12-09 23:40:25 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-12-18 21:41:40 +0200 |
commit | 2ec75a0869ab01fa9caf310e8a31eb7716182d30 (patch) | |
tree | 5127903f9e944ee519fb487a81ea0306f8501a99 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 982604cc08caa56fc707fe88cb0050fb99a14de4 (diff) | |
download | llvm-2ec75a0869ab01fa9caf310e8a31eb7716182d30.zip llvm-2ec75a0869ab01fa9caf310e8a31eb7716182d30.tar.gz llvm-2ec75a0869ab01fa9caf310e8a31eb7716182d30.tar.bz2 |
[lit] Flush stderr manually on Windows after printing messages
When run in a git bash terminal, sys.stderr isn't flushed implicitly
after printing each line. Manually flush it after each printout,
to avoid getting broken/misordered output.
A similar fix had been done in the old libcxx test config, committed
as part of 7e3ee09ad24cbca3ea7687c50b53be5269127fb1 / D28725; this
generalizes the fix, making it available in the new libcxx test
configs too, and for any other test that uses lit_config.note().
Differential Revision: https://reviews.llvm.org/D115761
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions