summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-11-05 00:46:25 +0000
committerEnrico Granata <egranata@apple.com>2015-11-05 00:46:25 +0000
commit5f92a130ffc225c8120ae7e8fd80e695dd4e51f6 (patch)
tree8b96f078685b3914b3e413c568d52d63538644a3 /lldb/packages/Python/lldbsuite/test/python_api
parentc77ce7b6263037f717369ce0ca95d51b31b72168 (diff)
downloadbcm5719-llvm-5f92a130ffc225c8120ae7e8fd80e695dd4e51f6.tar.gz
bcm5719-llvm-5f92a130ffc225c8120ae7e8fd80e695dd4e51f6.zip
Teach LLDB how to directly launch processes on the iOS simulator
This allows for command-line debugging of iOS simulator binaries (as long as UI is not required, or a full UI simulator has previously been otherwise launched), as well as execution of the LLDB test suite on the iOS simulator This is known to compile on OSX 10.11 GM - feedback from people on other platforms and/or older versions of OSX as to the buildability of this code is greatly appreciated llvm-svn: 252112
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
index ba2f2d46cc0..47c3ba146ce 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
@@ -30,6 +30,7 @@ class HelloWorldTestCase(TestBase):
TestBase.tearDown(self)
@add_test_categories(['pyapi'])
+ @skipIfiOSSimulator
def test_with_process_launch_api(self):
"""Create target, breakpoint, launch a process, and then kill it."""
self.build(dictionary=self.d)
@@ -75,6 +76,7 @@ class HelloWorldTestCase(TestBase):
@add_test_categories(['pyapi'])
@expectedFailureWindows("llvm.org/pr24600")
@expectedFailurei386("llvm.org/pr25338")
+ @skipIfiOSSimulator
def test_with_attach_to_process_with_id_api(self):
"""Create target, spawn a process, and attach to it with process id."""
self.build(dictionary=self.d)
@@ -104,6 +106,7 @@ class HelloWorldTestCase(TestBase):
@add_test_categories(['pyapi'])
@expectedFailureWindows("llvm.org/pr24600")
@expectedFailurei386("llvm.org/pr25338")
+ @skipIfiOSSimulator
def test_with_attach_to_process_with_name_api(self):
"""Create target, spawn a process, and attach to it with process name."""
self.build(dictionary=self.d)
OpenPOWER on IntegriCloud