diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-02-12 00:03:51 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-04-30 20:11:31 +0100 |
commit | f107f9b3962167e1ff5014951aa89fdc176ea683 (patch) | |
tree | 91cb0b8387e26e1c9a507681031ea4f425390341 /docs/markdown/Use-of-Python.md | |
parent | cd566d2bd5f2f1faa3576b51b6b47c74a7ed0392 (diff) | |
download | meson-f107f9b3962167e1ff5014951aa89fdc176ea683.zip meson-f107f9b3962167e1ff5014951aa89fdc176ea683.tar.gz meson-f107f9b3962167e1ff5014951aa89fdc176ea683.tar.bz2 |
Make colourize_console() a function
Currently, colourize_console is a constant, set at process
initialization.
To allow the actual stdout to be easily compared with the expected when
running tests, we want to allow colourization to be on for the test
driver, but not for the in-process configure done by run_configure,
which has stdout redirected from a tty to a pipe.
v2:
Cache _colorize_console per file object
v3:
Reset cache on setup_console()
Diffstat (limited to 'docs/markdown/Use-of-Python.md')
0 files changed, 0 insertions, 0 deletions