summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-06-25 15:58:32 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-06-25 15:58:32 +0000
commit635eb80662d9a2df12d45748df064d000bf96530 (patch)
treecb471f29bc8509f8d8878b71270c7a4748960aa9 /debuginfo-tests
parent96a192ea53717428b7a96673d00d2d68e8542dfb (diff)
downloadbcm5719-llvm-635eb80662d9a2df12d45748df064d000bf96530.tar.gz
bcm5719-llvm-635eb80662d9a2df12d45748df064d000bf96530.zip
[Python 3] Decode check_ouput result as UTF-8
llvm-svn: 364325
Diffstat (limited to 'debuginfo-tests')
-rw-r--r--debuginfo-tests/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuginfo-tests/lit.cfg.py b/debuginfo-tests/lit.cfg.py
index c47f453f74c..126f6a0571d 100644
--- a/debuginfo-tests/lit.cfg.py
+++ b/debuginfo-tests/lit.cfg.py
@@ -89,7 +89,7 @@ lit.util.usePlatformSdkOnDarwin(config, lit_config)
if platform.system() == 'Darwin':
import subprocess
- xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version'])
+ xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version']).decode("utf-8")
match = re.search('lldb-(\d+)', xcode_lldb_vers)
if match:
apple_lldb_vers = int(match.group(1))
OpenPOWER on IntegriCloud