1 |
commit: 6ae35c4bc3580abc411e055c52cd6f610cd31555 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sat Nov 26 12:11:48 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sat Nov 26 12:27:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ae35c4b |
7 |
|
8 |
nim-utils.eclass: use "nim_get_colors" in etestament |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
eclass/nim-utils.eclass | 8 ++++---- |
13 |
1 file changed, 4 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/eclass/nim-utils.eclass b/eclass/nim-utils.eclass |
16 |
index e72eb1bb5..eba7e5f5e 100644 |
17 |
--- a/eclass/nim-utils.eclass |
18 |
+++ b/eclass/nim-utils.eclass |
19 |
@@ -89,13 +89,13 @@ ekoch() { |
20 |
etestament() { |
21 |
debug-print-function ${FUNCNAME} "${@}" |
22 |
|
23 |
- local -a testament_args=() |
24 |
+ local testament_args=( |
25 |
+ --colors:$(nim_get_colors) |
26 |
+ ) |
27 |
+ |
28 |
[[ ${TESTAMENT_DISABLE_MEGATEST} ]] && \ |
29 |
testament_args+=( --megatest:off ) |
30 |
|
31 |
- [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && \ |
32 |
- testament_args+=( --colors:off ) |
33 |
- |
34 |
if [[ ${ETESTAMENT_DESELECT} ]]; then |
35 |
local skipfile="${T}"/testament.skipfile |
36 |
if [[ ! -f ${skipfile} ]]; then |