[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: status: Tweak colorization.
From: |
Ludovic Courtès |
Subject: |
03/03: status: Tweak colorization. |
Date: |
Fri, 28 Sep 2018 17:35:06 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 1dc876a39f39b963fbad7af9e38f62d45256432a
Author: Ludovic Courtès <address@hidden>
Date: Fri Sep 28 23:34:09 2018 +0200
status: Tweak colorization.
* guix/status.scm (colorize-log-line): Add "\<" before "FAIL" (to
distinguish from "XFAIL".
Use MAGENTA instead of ORANGE, which doesn't exist.
---
guix/status.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/status.scm b/guix/status.scm
index afa3c65..b19f019 100644
--- a/guix/status.scm
+++ b/guix/status.scm
@@ -275,10 +275,10 @@ on."
GREEN BOLD GREEN RESET GREEN BLUE)
("^(phase)(.*)(failed after)(.*)(seconds)(.*)"
RED BLUE RED BLUE RED BLUE)
- ("^(.*)(error|fail|failed|FAIL|FAILED)([[:blank:]]*)(:)(.*)"
+ ("^(.*)(error|fail|failed|\\<FAIL|FAILED)([[:blank:]]*)(:)(.*)"
RESET RED BOLD BOLD BOLD)
("^(.*)(warning)([[:blank:]]*)(:)(.*)"
- RESET ORANGE BOLD BOLD BOLD)))
+ RESET MAGENTA BOLD BOLD BOLD)))
(define* (print-build-event event old-status status
#:optional (port (current-error-port))