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.
This commit is contained in:
Ludovic Courtès 2018-09-28 23:34:09 +02:00
parent ccccb467fb
commit 1dc876a39f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

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