From 8756afc5a915793b9c0a9201bae9eb4fcf5b99a1 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 14 Feb 2015 09:05:56 +0000 Subject: [PATCH] [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. =] llvm-svn: 229247 --- llvm/test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index ec17c294d3ab..59d6aa29909d 100644 --- a/llvm/test/lit.cfg +++ b/llvm/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()