[PATCH] D55443: [test] Capture stderr from 'tar --version' call as well

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 7 11:19:53 PST 2018


MaskRay added inline comments.


================
Comment at: test/lit.cfg.py:101
+        env={'LANG': 'C'})
+    sout, serr = tar_version.communicate()
+    if 'GNU tar' in sout.decode():
----------------
LG, but `serr` can be replaced by `_` if it is not used.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55443/new/

https://reviews.llvm.org/D55443





More information about the llvm-commits mailing list