Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling DebugInfoD tests for linux aarch64/arm the right way #87547

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lldb/test/API/debuginfod/Normal/TestDebuginfod.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@


# It looks like Linux-AArch64 doesn't support build-id's on the LLDB builtbots
@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
class DebugInfodTests(TestBase):
# No need to try every flavor of debug inf.
NO_DEBUG_INFO_TESTCASE = True

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_normal_no_symbols(self):
"""
Validate behavior with no symbols or symbol locator.
Expand All @@ -32,6 +32,7 @@ def test_normal_no_symbols(self):
test_root = self.config_test(["a.out"])
self.try_breakpoint(False)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_normal_default(self):
"""
Validate behavior with symbols, but no symbol locator.
Expand All @@ -40,6 +41,7 @@ def test_normal_default(self):
test_root = self.config_test(["a.out", "a.out.debug"])
self.try_breakpoint(True)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_debuginfod_symbols(self):
"""
Test behavior with the full binary available from Debuginfod as
Expand All @@ -48,6 +50,7 @@ def test_debuginfod_symbols(self):
test_root = self.config_test(["a.out"], "a.out.unstripped")
self.try_breakpoint(True)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_debuginfod_executable(self):
"""
Test behavior with the full binary available from Debuginfod as
Expand All @@ -56,6 +59,7 @@ def test_debuginfod_executable(self):
test_root = self.config_test(["a.out"], None, "a.out.unstripped")
self.try_breakpoint(True)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_debuginfod_okd_symbols(self):
"""
Test behavior with the 'only-keep-debug' symbols available from Debuginfod.
Expand Down
7 changes: 6 additions & 1 deletion lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,27 @@


# It looks like Linux-AArch64 doesn't support build-id's on the LLDB builtbots
@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
class DebugInfodDWPTests(TestBase):
# No need to try every flavor of debug inf.
NO_DEBUG_INFO_TESTCASE = True

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_normal_stripped(self):
"""
Validate behavior with a stripped binary, no symbols or symbol locator.
"""
self.config_test(["a.out"])
self.try_breakpoint(False)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_normal_stripped_split_with_dwp(self):
"""
Validate behavior with symbols, but no symbol locator.
"""
self.config_test(["a.out", "a.out.debug", "a.out.dwp"])
self.try_breakpoint(True)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_normal_stripped_only_dwp(self):
"""
Validate behavior *with* dwp symbols only, but missing other symbols,
Expand All @@ -50,13 +52,15 @@ def test_normal_stripped_only_dwp(self):
self.config_test(["a.out", "a.out.dwp"])
self.try_breakpoint(False)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_debuginfod_dwp_from_service(self):
"""
Test behavior with the unstripped binary, and DWP from the service.
"""
self.config_test(["a.out.debug"], "a.out.dwp")
self.try_breakpoint(True)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_debuginfod_both_symfiles_from_service(self):
"""
Test behavior with a stripped binary, with the unstripped binary and
Expand All @@ -65,6 +69,7 @@ def test_debuginfod_both_symfiles_from_service(self):
self.config_test(["a.out"], "a.out.dwp", "a.out.unstripped")
self.try_breakpoint(True)

@skipIf(oslist=no_match(["linux"]), archs=no_match(["i386", "x86_64"]))
def test_debuginfod_both_okd_symfiles_from_service(self):
"""
Test behavior with both the only-keep-debug symbols and the dwp symbols
Expand Down
Loading