diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-01-17 16:03:03 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-03-05 22:29:57 +0000 |
commit | 18da1dac20c7d27342e987586a16d125e39197c9 (patch) | |
tree | 099503358097e5dfadebfbcfdeabb75cc6b26121 /src/corelib/kernel/qfunctions_fake_env_p.h | |
parent | 83864b315ff48bca33c39e1bdc03e522f68214fd (diff) |
testlib: Prevent Apple test logger from stomping on other loggers
We were potentially adding the Apple test logger multiple times, and we
didn't consider whether the existing loggers were logging to file or not
when circumventing them.
We now don't use the Apple logger if it would touch stderr and some other
logger is using stdout. In the case of no explicit logger being specified
on the command line, we allow the Apple logger to take priority over the
default plain test logger.
Change-Id: I31bbec4f4b3ab84ba9a2be35e8e5db08fee071a7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qfunctions_fake_env_p.h')
0 files changed, 0 insertions, 0 deletions