[PATCH] D35088: Change remaining references to lit.util.capture to use subprocess.check_output.

David L. Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 14:25:12 PDT 2017


dlj created this revision.
Herald added a subscriber: sanjoy.

The capture() function was removed in r306625. This should fix PGO breakages
reported by Michael Zolotukhin.


https://reviews.llvm.org/D35088

Files:
  cfe/trunk/test/Unit/lit.cfg
  cfe/trunk/test/lit.cfg
  lld/trunk/test/lit.cfg
  lldb/trunk/lit/lit.cfg
  llvm/trunk/test/Unit/lit.cfg
  llvm/trunk/test/lit.cfg


Index: llvm/trunk/test/lit.cfg
===================================================================
--- llvm/trunk/test/lit.cfg
+++ llvm/trunk/test/lit.cfg
@@ -5,6 +5,7 @@
 import os
 import sys
 import re
+import subprocess
 import platform
 
 import lit.util
Index: llvm/trunk/test/Unit/lit.cfg
===================================================================
--- llvm/trunk/test/Unit/lit.cfg
+++ llvm/trunk/test/Unit/lit.cfg
@@ -3,6 +3,7 @@
 # Configuration file for the 'lit' test runner.
 
 import os
+import subprocess
 
 import lit.formats
 
Index: cfe/trunk/test/Unit/lit.cfg
===================================================================
--- cfe/trunk/test/Unit/lit.cfg
+++ cfe/trunk/test/Unit/lit.cfg
@@ -4,6 +4,7 @@
 
 import os
 import platform
+import subprocess
 
 import lit.formats
 import lit.util


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35088.105533.patch
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170706/ecebdf7f/attachment.bin>


More information about the llvm-commits mailing list