Use ansiex to colorize the output of the test runner.
Use ANSI.terminal?/0 to decide whether to use colors in compiler output.