nim-utils.eclass: use "nim_get_colors" in etestament

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-11-26 17:11:48 +05:00
parent cae492830d
commit 6ae35c4bc3

View File

@@ -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