diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-02-14 09:05:56 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-02-14 09:05:56 +0000 |
commit | 45d67e923d56a78070e70c5af204f8ef7b22fb6d (patch) | |
tree | 97a9792b6aadccfdf2e8cb2c7d3394c94d3041a0 /test/lit.cfg | |
parent | c9864d8a7373dda7592a264786528ac4cff6c097 (diff) |
[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. =]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index ec17c294d3a..59d6aa29909 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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() |