[Lldb-commits] [lldb] r353226 - [Py3/TestAppleOSSimulator] Another byte<->str interoperability issue.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 5 14:24:53 PST 2019


Author: davide
Date: Tue Feb  5 14:24:53 2019
New Revision: 353226

URL: http://llvm.org/viewvc/llvm-project?rev=353226&view=rev
Log:
[Py3/TestAppleOSSimulator] Another byte<->str interoperability issue.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py?rev=353226&r1=353225&r2=353226&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py Tue Feb  5 14:24:53 2019
@@ -15,7 +15,7 @@ class TestAppleSimulatorOSType(gdbremote
 
     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




More information about the lldb-commits mailing list