[llvm] r229247 - [lit] Make the gold plugin support testing work with a python3
Chandler Carruth
chandlerc at gmail.com
Sat Feb 14 01:05:56 PST 2015
Author: chandlerc
Date: Sat Feb 14 03:05:56 2015
New Revision: 229247
URL: http://llvm.org/viewvc/llvm-project?rev=229247&view=rev
Log:
[lit] Make the gold plugin support testing work with a python3
interpreter. Seems that's a better path than pinning to python2.7.
Thanks to Justin for prodding me toward a fix. =]
Modified:
llvm/trunk/test/lit.cfg
Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=229247&r1=229246&r2=229247&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Sat Feb 14 03:05:56 2015
@@ -353,7 +353,7 @@ def have_ld_plugin_support():
return False
ld_version = subprocess.Popen(['ld', '--version'], stdout = subprocess.PIPE)
- if not 'GNU gold' in ld_version.stdout.read():
+ if not 'GNU gold' in ld_version.stdout.read().decode():
return False
ld_version.wait()
More information about the llvm-commits
mailing list