diff options
Diffstat (limited to 'pym/portage/tests/runTests')
-rwxr-xr-x | pym/portage/tests/runTests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/runTests b/pym/portage/tests/runTests index 91984a3a3..1c1008dff 100755 --- a/pym/portage/tests/runTests +++ b/pym/portage/tests/runTests @@ -37,6 +37,9 @@ import portage # work the same regardless of global configuration file state/existence. portage._disable_legacy_globals() +if os.environ.get('NOCOLOR') in ('yes', 'true'): + portage.output.nocolor() + import portage.tests as tests from portage.const import PORTAGE_BIN_PATH path = os.environ.get("PATH", "").split(":") |