Specify a background color for XFAIL text

To improve readability on terminals with a white background.
This commit is contained in:
Adrian Johnson 2008-11-02 15:05:07 +10:30
parent 81c3009c07
commit ed2081d974

View file

@ -192,7 +192,7 @@ _cairo_test_init (cairo_test_context_t *ctx,
#ifdef HAVE_UNISTD_H
if (*fail_face == '\0' && isatty (2)) {
fail_face = "\033[41;37;1m";
xfail_face = "\033[33;1m";
xfail_face = "\033[43;37;1m";
normal_face = "\033[m";
if (isatty (1))
print_fail_on_stdout = FALSE;