From: NAKAMURA Takumi Date: Mon, 5 Jan 2015 14:18:04 +0000 (+0000) Subject: llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=19d9f342ed5114ad85b8b022e01321ab2974907e llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225171 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index d628dfb76f2..cd615b3c573 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -330,7 +330,7 @@ def have_ld_plugin_support(): return False ld_cmd = subprocess.Popen(['ld', '--help'], stdout = subprocess.PIPE) - ld_out = ld_cmd.stdout.read() + ld_out = ld_cmd.stdout.read().decode() ld_cmd.wait() if not '-plugin' in ld_out: