diff --git a/eclass/nim-utils.eclass b/eclass/nim-utils.eclass index e72eb1bb56..eba7e5f5e5 100644 --- a/eclass/nim-utils.eclass +++ b/eclass/nim-utils.eclass @@ -89,13 +89,13 @@ ekoch() { etestament() { debug-print-function ${FUNCNAME} "${@}" - local -a testament_args=() + local testament_args=( + --colors:$(nim_get_colors) + ) + [[ ${TESTAMENT_DISABLE_MEGATEST} ]] && \ testament_args+=( --megatest:off ) - [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && \ - testament_args+=( --colors:off ) - if [[ ${ETESTAMENT_DESELECT} ]]; then local skipfile="${T}"/testament.skipfile if [[ ! -f ${skipfile} ]]; then