[PATCH] [libcxx] Use pseudo-terminal in LIT tests so color output from compiler error messages is captured.

Eric Fiselier eric at efcs.ca
Mon Oct 27 20:00:19 PDT 2014


Only use pseudo-terminal if `sys.stdout.isatty()` is true. Otherwise fall back to the old method.

http://reviews.llvm.org/D6010

Files:
  test/lit.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6010.15514.patch
Type: text/x-patch
Size: 2516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141028/5ba63bf6/attachment.bin>


More information about the cfe-commits mailing list