summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/thread
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-04-06 19:54:10 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-04-06 19:54:10 +0000
commit24086bc93b9489fb28eab1604d32c640f4bed464 (patch)
treeeaa229a2e3b32b8c4f1cd41e2c5641de18f360c3 /lldb/test/python_api/thread
parente110fe4ac703985dfe7ed07d4784763a520696d7 (diff)
downloadbcm5719-llvm-24086bc93b9489fb28eab1604d32c640f4bed464.tar.gz
bcm5719-llvm-24086bc93b9489fb28eab1604d32c640f4bed464.zip
Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases.
Plus some minor cleanup of test method names. Third and final batch is coming. llvm-svn: 154197
Diffstat (limited to 'lldb/test/python_api/thread')
-rw-r--r--lldb/test/python_api/thread/TestThreadAPI.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/test/python_api/thread/TestThreadAPI.py b/lldb/test/python_api/thread/TestThreadAPI.py
index 66cde0cde4a..93bff1de51f 100644
--- a/lldb/test/python_api/thread/TestThreadAPI.py
+++ b/lldb/test/python_api/thread/TestThreadAPI.py
@@ -14,12 +14,14 @@ class ThreadAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_process_with_dsym(self):
"""Test Python SBThread.GetProcess() API."""
self.buildDsym()
self.get_process()
@python_api_test
+ @dwarf_test
def test_get_process_with_dwarf(self):
"""Test Python SBThread.GetProcess() API."""
self.buildDwarf()
@@ -27,12 +29,14 @@ class ThreadAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_stop_description_with_dsym(self):
"""Test Python SBThread.GetStopDescription() API."""
self.buildDsym()
self.get_stop_description()
@python_api_test
+ @dwarf_test
def test_get_stop_description_with_dwarf(self):
"""Test Python SBThread.GetStopDescription() API."""
self.buildDwarf()
@@ -40,6 +44,7 @@ class ThreadAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_run_to_address_with_dsym(self):
"""Test Python SBThread.RunToAddress() API."""
# We build a different executable than the default buildDwarf() does.
@@ -49,6 +54,7 @@ class ThreadAPITestCase(TestBase):
self.run_to_address(self.exe_name)
@python_api_test
+ @dwarf_test
def test_run_to_address_with_dwarf(self):
"""Test Python SBThread.RunToAddress() API."""
# We build a different executable than the default buildDwarf() does.
@@ -59,6 +65,7 @@ class ThreadAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_step_out_of_malloc_into_function_b_with_dsym(self):
"""Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b()."""
# We build a different executable than the default buildDsym() does.
@@ -68,6 +75,7 @@ class ThreadAPITestCase(TestBase):
self.step_out_of_malloc_into_function_b(self.exe_name)
@python_api_test
+ @dwarf_test
def test_step_out_of_malloc_into_function_b_with_dwarf(self):
"""Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b()."""
# We build a different executable than the default buildDwarf() does.
@@ -78,6 +86,7 @@ class ThreadAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_step_over_3_times_with_dsym(self):
"""Test Python SBThread.StepOver() API."""
# We build a different executable than the default buildDsym() does.
@@ -87,6 +96,7 @@ class ThreadAPITestCase(TestBase):
self.step_over_3_times(self.exe_name)
@python_api_test
+ @dwarf_test
def test_step_over_3_times_with_dwarf(self):
"""Test Python SBThread.StepOver() API."""
# We build a different executable than the default buildDwarf() does.
OpenPOWER on IntegriCloud