summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py17
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py6
2 files changed, 7 insertions, 16 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py b/lldb/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py
index cf0371230f0..a4870de1d17 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py
@@ -13,20 +13,11 @@ class TypedefTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @skipUnlessDarwin
- @dsym_test
- @expectedFailureClang("llvm.org/pr19238")
- def test_with_dsym(self):
+ @expectedFailureAll(bugnumber="llvm.org/pr19238", compiler="clang")
+ @expectedFailureAll(bugnumber="llvm.org/pr25626 expectedFailureClang fails on FreeBSD", oslist=["freebsd"])
+ def test_typedef(self):
"""Test 'image lookup -t a' and check for correct display at different scopes."""
- self.buildDsym()
- self.image_lookup_for_multiple_typedefs()
-
- @dwarf_test
- @expectedFailureClang("llvm.org/pr19238")
- @expectedFailureFreeBSD("llvm.org/pr25626 expectedFailureClang fails on FreeBSD")
- def test_with_dwarf(self):
- """Test 'image lookup -t a' and check for correct display at different scopes."""
- self.buildDwarf()
+ self.build()
self.image_lookup_for_multiple_typedefs()
def image_lookup_for_multiple_typedefs(self):
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
index cdc8b8de7a0..ec26f9efe90 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
@@ -6,9 +6,9 @@ class TestWithLimitDebugInfo(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @dwarf_test
- def test_with_dwarf(self):
- self.buildDwarf()
+ @skipIf(debug_info=not_in(["dwarf"]))
+ def test_limit_debug_info(self):
+ self.build()
cwd = os.getcwd()
OpenPOWER on IntegriCloud