summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-02-05 22:24:53 +0000
committerDavide Italiano <davide@freebsd.org>2019-02-05 22:24:53 +0000
commit76046abbfa474300be9cac06442a6927c3cdd611 (patch)
treec5d24cd97951a0005c5adb4ec61cd2e2096698b1 /lldb/packages/Python/lldbsuite/test
parentb33f00f50841067a405c7c84d406d95ba1714958 (diff)
downloadbcm5719-llvm-76046abbfa474300be9cac06442a6927c3cdd611.tar.gz
bcm5719-llvm-76046abbfa474300be9cac06442a6927c3cdd611.zip
[Py3/TestAppleOSSimulator] Another byte<->str interoperability issue.
llvm-svn: 353226
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py
index d10a9abfb13..cf01359fce8 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py
@@ -15,7 +15,7 @@ class TestAppleSimulatorOSType(gdbremote_testcase.GdbRemoteTestCaseBase):
def check_simulator_ostype(self, sdk, platform, arch='x86_64'):
sim_devices_str = subprocess.check_output(['xcrun', 'simctl', 'list',
- '-j', 'devices'])
+ '-j', 'devices']).decode("utf-8")
sim_devices = json.loads(sim_devices_str)['devices']
# Find an available simulator for the requested platform
deviceUDID = None
OpenPOWER on IntegriCloud