diff options
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index ff5b350cd469..aece257e8cba 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1297,6 +1297,16 @@ epytest() { _python_check_EPYTHON + local color + case ${NOCOLOR} in + true|yes) + color=no + ;; + *) + color=yes + ;; + esac + local args=( # verbose progress reporting and tracebacks -vv @@ -1308,6 +1318,8 @@ epytest() { # override filterwarnings=error, we do not really want -Werror # for end users, as it tends to fail on new warnings from deps -Wdefault + # override color output + "--color=${color}" ) local x for x in "${EPYTEST_DESELECT[@]}"; do |