Skip to content

Commit ceb33a4

Browse files
author
Kevin Frei
committed
Updated tests to not run on Mac/Windows
1 parent 2fedf44 commit ceb33a4

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

lldb/test/API/debuginfod/Normal/TestDebuginfod.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class DebugInfodTests(TestBase):
2222
# No need to try every flavor of debug inf.
2323
NO_DEBUG_INFO_TESTCASE = True
2424

25+
@skipUnlessPlatform(["linux", "freebsd"])
2526
def test_normal_no_symbols(self):
2627
"""
2728
Validate behavior with no symbols or symbol locator.
@@ -30,6 +31,7 @@ def test_normal_no_symbols(self):
3031
test_root = self.config_test(["a.out"])
3132
self.try_breakpoint(False)
3233

34+
@skipUnlessPlatform(["linux", "freebsd"])
3335
def test_normal_default(self):
3436
"""
3537
Validate behavior with symbols, but no symbol locator.
@@ -39,6 +41,7 @@ def test_normal_default(self):
3941
self.try_breakpoint(True)
4042

4143
@skipIfCurlSupportMissing
44+
@skipUnlessPlatform(["linux", "freebsd"])
4245
def test_debuginfod_symbols(self):
4346
"""
4447
Test behavior with the full binary available from Debuginfod as
@@ -48,6 +51,7 @@ def test_debuginfod_symbols(self):
4851
self.try_breakpoint(True)
4952

5053
@skipIfCurlSupportMissing
54+
@skipUnlessPlatform(["linux", "freebsd"])
5155
def test_debuginfod_executable(self):
5256
"""
5357
Test behavior with the full binary available from Debuginfod as
@@ -57,6 +61,7 @@ def test_debuginfod_executable(self):
5761
self.try_breakpoint(True)
5862

5963
@skipIfCurlSupportMissing
64+
@skipUnlessPlatform(["linux", "freebsd"])
6065
def test_debuginfod_okd_symbols(self):
6166
"""
6267
Test behavior with the 'only-keep-debug' symbols available from Debuginfod.

lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,23 @@ class DebugInfodDWPTests(TestBase):
2525
# No need to try every flavor of debug inf.
2626
NO_DEBUG_INFO_TESTCASE = True
2727

28+
@skipUnlessPlatform(["linux", "freebsd"])
2829
def test_normal_stripped(self):
2930
"""
3031
Validate behavior with a stripped binary, no symbols or symbol locator.
3132
"""
3233
self.config_test(["a.out"])
3334
self.try_breakpoint(False)
3435

36+
@skipUnlessPlatform(["linux", "freebsd"])
3537
def test_normal_stripped_split_with_dwp(self):
3638
"""
3739
Validate behavior with symbols, but no symbol locator.
3840
"""
3941
self.config_test(["a.out", "a.out.debug", "a.out.dwp"])
4042
self.try_breakpoint(True)
4143

44+
@skipUnlessPlatform(["linux", "freebsd"])
4245
def test_normal_stripped_only_dwp(self):
4346
"""
4447
Validate behavior *with* dwp symbols only, but missing other symbols,
@@ -49,6 +52,7 @@ def test_normal_stripped_only_dwp(self):
4952
self.try_breakpoint(False)
5053

5154
@skipIfCurlSupportMissing
55+
@skipUnlessPlatform(["linux", "freebsd"])
5256
def test_debuginfod_dwp_from_service(self):
5357
"""
5458
Test behavior with the unstripped binary, and DWP from the service.
@@ -57,6 +61,7 @@ def test_debuginfod_dwp_from_service(self):
5761
self.try_breakpoint(True)
5862

5963
@skipIfCurlSupportMissing
64+
@skipUnlessPlatform(["linux", "freebsd"])
6065
def test_debuginfod_both_symfiles_from_service(self):
6166
"""
6267
Test behavior with a stripped binary, with the unstripped binary and
@@ -66,6 +71,7 @@ def test_debuginfod_both_symfiles_from_service(self):
6671
self.try_breakpoint(True)
6772

6873
@skipIfCurlSupportMissing
74+
@skipUnlessPlatform(["linux", "freebsd"])
6975
def test_debuginfod_both_okd_symfiles_from_service(self):
7076
"""
7177
Test behavior with both the only-keep-debug symbols and the dwp symbols

0 commit comments

Comments
 (0)