[PATCH] D19260: [analyzer][scan-build-py] subprocess output handling reviewed in clang module

Laszlo Nagy via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 05:32:35 PDT 2016


rizsotto.mailinglist created this revision.
rizsotto.mailinglist added reviewers: zaks.anna, dcoughlin.
rizsotto.mailinglist added a subscriber: cfe-commits.

In python subprocess.check_output is an easy way to collect child process output. Current implementation does deal with Popen class, which requires more code to get the desired output lines. Beside the simplifications, this patch also introduce a few more tests on active checker logic.

http://reviews.llvm.org/D19260

Files:
  tools/scan-build-py/libscanbuild/analyze.py
  tools/scan-build-py/libscanbuild/clang.py
  tools/scan-build-py/tests/unit/test_clang.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19260.54179.patch
Type: text/x-patch
Size: 13851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160419/924e9a58/attachment-0001.bin>


More information about the cfe-commits mailing list