Using -O allows grouping job output, which is helpful when output would otherwise be interleaved (such as when running tests). However, it also means that there is no tty attached to the job, resulting in cocotb automatically turning off color. Detect whether we have a tty during the parsing phase, and force color output if we do. Technically this should probably take into account the existing value of COCOTB_ANSI_OUTPUT, but I don't use it normally. Signed-off-by: Sean Anderson <seanga2@gmail.com> |
||
---|---|---|
rtl | ||
tb | ||
.gitignore | ||
4b5b.gtkw | ||
Makefile |