[Lldb-commits] [lldb] r369709 - TestAppleSimulatorOSType: Pass the --standalone argument to simctl

Frederic Riss via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 22 14:44:10 PDT 2019


Author: friss
Date: Thu Aug 22 14:44:10 2019
New Revision: 369709

URL: http://llvm.org/viewvc/llvm-project?rev=369709&view=rev
Log:
TestAppleSimulatorOSType: Pass the --standalone argument to simctl

It looks like running without this argument was supported
for legacy reasons, but a Xcode 11 beta made the argument
mandatory for our usecase.

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=369709&r1=369708&r2=369709&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 Thu Aug 22 14:44:10 2019
@@ -46,7 +46,7 @@ class TestAppleSimulatorOSType(gdbremote
         self.build(dictionary={ 'EXE': exe_name, 'SDKROOT': sdkroot.strip(),
                                 'ARCH': arch })
         exe_path = self.getBuildArtifact(exe_name)
-        sim_launcher = subprocess.Popen(['xcrun', 'simctl', 'spawn',
+        sim_launcher = subprocess.Popen(['xcrun', 'simctl', 'spawn', '-s',
                                          deviceUDID, exe_path,
                                          'print-pid', 'sleep:10'],
                                         stderr=subprocess.PIPE)




More information about the lldb-commits mailing list