[Lldb-commits] [lldb] f47a84b - [lldb] [test] Update XFAILs for FreeBSD/aarch64
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 10 09:36:36 PST 2021
Author: Michał Górny
Date: 2021-03-10T18:36:19+01:00
New Revision: f47a84bc335775273688b76df8ddc7daae7f132e
URL: https://github.com/llvm/llvm-project/commit/f47a84bc335775273688b76df8ddc7daae7f132e
DIFF: https://github.com/llvm/llvm-project/commit/f47a84bc335775273688b76df8ddc7daae7f132e.diff
LOG: [lldb] [test] Update XFAILs for FreeBSD/aarch64
Added:
Modified:
lldb/test/API/commands/expression/fixits/TestFixIts.py
lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py
lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py
lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
lldb/test/API/functionalities/return-value/TestReturnValue.py
lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py
lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py
lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py
lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py
lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py
lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py
lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py
lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py
lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/expression/fixits/TestFixIts.py b/lldb/test/API/commands/expression/fixits/TestFixIts.py
index 59a1eb2d2abf..754e517a855d 100644
--- a/lldb/test/API/commands/expression/fixits/TestFixIts.py
+++ b/lldb/test/API/commands/expression/fixits/TestFixIts.py
@@ -83,7 +83,8 @@ def test_with_target(self):
"Fix was right")
# The final function call runs into SIGILL on aarch64-linux.
- @expectedFailureAll(archs=["aarch64"], oslist=["linux"])
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd", "linux"],
+ bugnumber="llvm.org/pr49407")
def test_with_multiple_retries(self):
"""Test calling expressions with errors that can be fixed by the FixIts."""
self.build()
diff --git a/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py b/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py
index 512b4a433984..0d6f19f7c6cb 100644
--- a/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py
+++ b/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py
@@ -30,6 +30,7 @@ def exit_expression_editor(self):
# under ASAN on a loaded machine..
@skipIfAsan
@skipIfEditlineSupportMissing
+ @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr49408')
def test_basic_completion(self):
"""Test that we can complete a simple multiline expression"""
self.build()
diff --git a/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py b/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
index 60a005f10280..38470bb8a57d 100644
--- a/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
+++ b/lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
@@ -7,7 +7,7 @@ class StaticInitializers(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @expectedFailureAll(archs="aarch64", oslist="linux",
+ @expectedFailureAll(archs="aarch64", oslist=["freebsd", "linux"],
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44053")
def test(self):
""" Test a static initializer. """
diff --git a/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py b/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
index f26c8e58cccd..4b5926314790 100644
--- a/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
+++ b/lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
@@ -14,7 +14,7 @@ class TestStepOverWatchpoint(TestBase):
NO_DEBUG_INFO_TESTCASE = True
@expectedFailureAll(
- oslist=["linux"],
+ oslist=["freebsd", "linux"],
archs=[
'aarch64',
'arm'],
diff --git a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
index 7985c0647734..f290c583fd55 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
@@ -10,7 +10,8 @@ class TestWatchpointCount(TestBase):
def setUp(self):
TestBase.setUp(self)
- @skipIf(oslist=["linux"], archs=["arm", "aarch64"])
+ @skipIf(oslist=["freebsd", "linux"], archs=["arm", "aarch64"],
+ bugnumber="llvm.org/pr26031")
def test_watchpoint_count(self):
self.build()
(_, process, thread, _) = lldbutil.run_to_source_breakpoint(self, "patatino", lldb.SBFileSpec("main.c"))
diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py
index f8cff3900f4b..19f2824a18f2 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py
@@ -6,6 +6,8 @@
class TestGDBRemoteLoad(GDBRemoteTestBase):
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49414")
def test_module_load_address(self):
"""Test that setting the load address of a module uses virtual addresses"""
target = self.createTarget("a.yaml")
@@ -18,6 +20,8 @@ def test_module_load_address(self):
self.assertEqual(".data", address.GetSection().GetName())
@skipIfReproducer # Packet log is not populated during replay.
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49414")
def test_ram_load(self):
"""Test loading an object file to a target's ram"""
target = self.createTarget("a.yaml")
@@ -30,6 +34,8 @@ def test_ram_load(self):
@skipIfXmlSupportMissing
@skipIfReproducer # Packet log is not populated during replay.
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49414")
def test_flash_load(self):
"""Test loading an object file to a target's flash memory"""
diff --git a/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py b/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
index f3edf4b82bcd..3662a2b91d45 100644
--- a/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
+++ b/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
@@ -295,6 +295,8 @@ def test_x86_64_sysroot(self):
@skipIf(triple='^mips')
@skipIfLLVMTargetMissing("AArch64")
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49415")
def test_aarch64_regs(self):
# check 64 bit ARM core files
target = self.dbg.CreateTarget(None)
@@ -351,6 +353,8 @@ def test_aarch64_regs(self):
@skipIf(triple='^mips')
@skipIfLLVMTargetMissing("AArch64")
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49415")
def test_aarch64_sve_regs_fpsimd(self):
# check 64 bit ARM core files
target = self.dbg.CreateTarget(None)
diff --git a/lldb/test/API/functionalities/return-value/TestReturnValue.py b/lldb/test/API/functionalities/return-value/TestReturnValue.py
index 43e6d5f70c59..33af565dd9a1 100644
--- a/lldb/test/API/functionalities/return-value/TestReturnValue.py
+++ b/lldb/test/API/functionalities/return-value/TestReturnValue.py
@@ -19,7 +19,8 @@ def affected_by_pr33042(self):
"aarch64" and self.getPlatform() == "linux")
def affected_by_pr44132(self):
- return ((self.getArchitecture() == "aarch64" or self.getArchitecture() == 'arm') and self.getPlatform() == "linux")
+ return (self.getArchitecture() in ["aarch64", "arm"] and
+ self.getPlatform() in ["freebsd", "linux"])
# ABIMacOSX_arm can't fetch simple values inside a structure
def affected_by_radar_34562999(self):
diff --git a/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py b/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
index e3e4a92aa3ec..b2208f219690 100644
--- a/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
+++ b/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
@@ -51,7 +51,7 @@ def test_step_over_with_python(self):
oslist=no_match(["freebsd"]),
bugnumber="llvm.org/pr28549")
@expectedFailureAll(archs=["arm64"], bugnumber="<rdar://problem/34026777>") # lldb doesn't step past last source line in function on arm64
- @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd", "linux"],
bugnumber="llvm.org/pr44057")
def test_step_in_with_python(self):
"""Test stepping in using avoid-no-debug with dwarf."""
diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py
index bbbfbdb09589..c1b22ced5284 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py
@@ -14,6 +14,8 @@ class ConcurrentManyBreakpoints(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
@skipIfOutOfTreeDebugserver
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49433")
def test(self):
"""Test 100 breakpoints from 100 threads."""
self.build(dictionary=self.getBuildFlags())
diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py
index 9cb825b219a7..8af1b41dbf6e 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py
@@ -13,6 +13,8 @@ class ConcurrentNWatchNBreak(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49433")
@add_test_categories(["watchpoint"])
def test(self):
"""Test with 5 watchpoint and breakpoint threads."""
diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py
index 70955cf4beb9..9624e10eb0f5 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py
@@ -14,6 +14,8 @@ class ConcurrentSignalNWatchNBreak(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
@expectedFailureNetBSD
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49433")
@add_test_categories(["watchpoint"])
def test(self):
"""Test one signal thread with 5 watchpoint and breakpoint threads."""
diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py
index 2c02ef11ec3f..1f6832d9ecdb 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py
@@ -13,6 +13,8 @@ class ConcurrentTwoBreakpointThreads(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49433")
def test(self):
"""Test two threads that trigger a breakpoint. """
self.build(dictionary=self.getBuildFlags())
diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py
index 78c5964b4a89..10925e4ecd24 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py
@@ -14,6 +14,8 @@ class ConcurrentTwoBreakpointsOneDelaySignal(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
@expectedFlakeyNetBSD
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49433")
def test(self):
"""Test two threads that trigger a breakpoint and one (1 second delay) signal thread. """
self.build(dictionary=self.getBuildFlags())
diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py
index b7f1733467d4..616b47874a95 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py
@@ -14,6 +14,8 @@ class ConcurrentTwoBreakpointsOneSignal(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
@expectedFlakeyNetBSD
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49433")
def test(self):
"""Test two threads that trigger a breakpoint and one signal thread. """
self.build(dictionary=self.getBuildFlags())
diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py
index 67d4fb7823fd..72e537f067d8 100644
--- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py
+++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneWatchpoint.py
@@ -14,6 +14,8 @@ class ConcurrentTwoBreakpointsOneWatchpoint(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
@add_test_categories(["watchpoint"])
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
+ bugnumber="llvm.org/pr49433")
def test(self):
"""Test two threads that trigger a breakpoint and one watchpoint thread. """
self.build(dictionary=self.getBuildFlags())
diff --git a/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py b/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py
index f5904084470b..183143c28cb8 100644
--- a/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py
+++ b/lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py
@@ -17,6 +17,7 @@ class IOHandlerCompletionTest(PExpectTest):
# under ASAN on a loaded machine..
@skipIfAsan
@skipIfEditlineSupportMissing
+ @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr49408')
def test_completion(self):
self.launch(dimensions=(100,500))
diff --git a/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py b/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
index a8cb358036ea..157a9e183a6a 100644
--- a/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
+++ b/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
@@ -17,7 +17,7 @@ class TestTrivialABI(TestBase):
@skipUnlessSupportedTypeAttribute("trivial_abi")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr37995")
- @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+ @expectedFailureAll(archs=["aarch64"], oslist=["freebsd", "linux"],
bugnumber="llvm.org/pr44161")
def test_call_trivial(self):
"""Test that we can print a variable & call a function with a trivial ABI class."""
@@ -28,7 +28,7 @@ def test_call_trivial(self):
@skipUnlessSupportedTypeAttribute("trivial_abi")
# fixed for SysV-x86_64 ABI, but not Windows-x86_64
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr36870")
- @expectedFailureAll(archs=["arm", "aarch64"], oslist=["linux"],
+ @expectedFailureAll(archs=["arm", "aarch64"], oslist=["freebsd", "linux"],
bugnumber="llvm.org/pr44161")
@expectedFailureAll(archs=["arm64", "arm64e"], bugnumber="<rdar://problem/57844240>")
def test_call_nontrivial(self):
diff --git a/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py b/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
index 491261b3a29b..7f29ec6c03ec 100644
--- a/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
+++ b/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
@@ -78,6 +78,7 @@ def test_modules_dsym(self):
@skipIfWindows
@skipIfRemote
+ @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr49418")
def test_compile_units(self):
program = self.getBuildArtifact("a.out")
self.build_and_launch(program)
More information about the lldb-commits
mailing list