summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py')
-rw-r--r--lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py25
1 files changed, 5 insertions, 20 deletions
diff --git a/lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py b/lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
index 84f5210336f..c54d23b6105 100644
--- a/lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
+++ b/lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
@@ -10,24 +10,6 @@ class TestObjCStaticMethod(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @skipUnlessDarwin
- @python_api_test
- #<rdar://problem/9745789> "expression" can't call functions in class methods
- @dsym_test
- def test_with_dsym_and_python_api(self):
- """Test calling functions in static methods."""
- self.buildDsym()
- self.objc_static_method()
-
- @skipUnlessDarwin
- @python_api_test
- #<rdar://problem/9745789> "expression" can't call functions in class methods
- @dwarf_test
- def test_with_dwarf_and_python_api(self):
- """Test calling functions in static methods."""
- self.buildDwarf()
- self.objc_static_method()
-
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
@@ -35,9 +17,12 @@ class TestObjCStaticMethod(TestBase):
self.main_source = "static.m"
self.break_line = line_number(self.main_source, '// Set breakpoint here.')
- #rdar://problem/9745789 "expression" can't call functions in class methods
- def objc_static_method(self):
+ @skipUnlessDarwin
+ @python_api_test
+ #<rdar://problem/9745789> "expression" can't call functions in class methods
+ def test_with_python_api(self):
"""Test calling functions in static methods."""
+ self.build()
exe = os.path.join(os.getcwd(), "a.out")
target = self.dbg.CreateTarget(exe)
OpenPOWER on IntegriCloud