From 6ae35c4bc3580abc411e055c52cd6f610cd31555 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sat, 26 Nov 2022 17:11:48 +0500 Subject: [PATCH] nim-utils.eclass: use "nim_get_colors" in etestament Signed-off-by: Anna (cybertailor) Vyalkova --- eclass/nim-utils.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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