[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 18:43:42 PDT 2014


Hi mclow.lists, danalbert, jroelofs, ddunbar,

Change LibcxxTestFormat's execute_command method so it uses a pseudo-terminal when invoking the compiler commands. This means that clang will output color diagnostics and LIT will capture these diagnostics.

http://reviews.llvm.org/D6010

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


More information about the cfe-commits mailing list