aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-28 23:34:09 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-28 23:34:09 +0200
commit1dc876a39f39b963fbad7af9e38f62d45256432a (patch)
tree62f6d192c2b8dd5b08482952f73d2344633b7796
parentccccb467fb5dec58023717c7ec2699f2955f0d62 (diff)
downloadpatches-1dc876a39f39b963fbad7af9e38f62d45256432a.tar
patches-1dc876a39f39b963fbad7af9e38f62d45256432a.tar.gz
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.
-rw-r--r--guix/status.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/status.scm b/guix/status.scm
index afa3c656a8..b19f0199d1 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))