Skip to content

Commit 6d6feaf

Browse files
committed
[lldb][NFC] update API tests which skip/expect-fail arm
The architectures provided to skipIf / expectedFail are regular expressions (v. _match_decorator_property() in decorators.py so on Darwin systems "arm64" would match the skips for "arm" (32-bit Linux). Update these to "arm$" to prevent this, and also update three tests (TestBuiltinFormats.py, TestCrossDSOTailCalls.py, TestCrossObjectTailCalls.py) that were skipped for arm64 via this behavior, and need to be skipped or they will fail. This was moviated by the new TestDynamicValue.py test which has an expected-fail for arm, but the test was passing on arm64 Darwin resulting in failure for the CIs.
1 parent e2f118d commit 6d6feaf

File tree

64 files changed

+105
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+105
-103
lines changed

lldb/test/API/api/multiple-targets/TestMultipleTargets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class TestMultipleTargets(TestBase):
1212
NO_DEBUG_INFO_TESTCASE = True
1313

14-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
14+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1515
@skipIfNoSBHeaders
1616
@expectedFailureAll(
1717
oslist=["windows"], archs=["i[3-6]86", "x86_64"], bugnumber="llvm.org/pr20282"

lldb/test/API/arm/breakpoint-it/TestBreakpointIt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
class TestBreakpointIt(TestBase):
1414
NO_DEBUG_INFO_TESTCASE = True
1515

16-
@skipIf(archs=no_match(["arm"]))
16+
@skipIf(archs=no_match(["arm$"]))
1717
@skipIf(archs=["arm64", "arm64e", "arm64_32"])
1818
def test_false(self):
1919
self.build()
@@ -29,7 +29,7 @@ def test_false(self):
2929
self.process().GetState(), lldb.eStateExited, "Breakpoint does not get hit"
3030
)
3131

32-
@skipIf(archs=no_match(["arm"]))
32+
@skipIf(archs=no_match(["arm$"]))
3333
@skipIf(archs=["arm64", "arm64e", "arm64_32"])
3434
def test_true(self):
3535
self.build()

lldb/test/API/arm/breakpoint-thumb-codesection/TestBreakpointThumbCodesection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class TestBreakpointThumbCodesection(TestBase):
14-
@skipIf(archs=no_match(["arm"]))
14+
@skipIf(archs=no_match(["arm$"]))
1515
@skipIf(archs=["arm64"])
1616
@skipIfDarwinEmbedded # codegen on darwin always defaults to thumb for armv7/armv7k targets
1717
def test_breakpoint(self):

lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def exit_expression_editor(self):
2929
@skipIfAsan
3030
@skipIfEditlineSupportMissing
3131
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr49408")
32-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
32+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
3333
def test_basic_completion(self):
3434
"""Test that we can complete a simple multiline expression"""
3535
self.build()

lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TestCase(PExpectTest):
1717
@skipIfAsan
1818
@skipIfEditlineSupportMissing
1919
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48316")
20-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
20+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) # Randomly fails on buildbot
2121
def test_nav_arrow_up(self):
2222
"""Tests that we can navigate back to the previous line with the up arrow"""
2323
self.launch()
@@ -41,7 +41,7 @@ def test_nav_arrow_up(self):
4141
@skipIfAsan
4242
@skipIfEditlineSupportMissing
4343
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48316")
44-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
44+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) # Randomly fails on buildbot
4545
def test_nav_arrow_down(self):
4646
"""Tests that we can navigate to the next line with the down arrow"""
4747
self.launch()
@@ -72,7 +72,7 @@ def test_nav_arrow_down(self):
7272

7373
@skipIfAsan
7474
@skipIfEditlineSupportMissing
75-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
75+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) # Randomly fails on buildbot
7676
def test_nav_arrow_up_empty(self):
7777
"""
7878
Tests that navigating with the up arrow doesn't crash and skips

lldb/test/API/commands/expression/rdar44436068/Test128BitsInteger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
from lldbsuite.test import decorators
33

44
lldbinline.MakeInlineTest(
5-
__file__, globals(), decorators.skipIf(archs=["arm", "armv7k", "i386"])
5+
__file__, globals(), decorators.skipIf(archs=["arm$", "armv7k", "i386"])
66
)

lldb/test/API/commands/gui/basic/TestGuiBasic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class BasicGuiCommandTest(PExpectTest):
1313
# under ASAN on a loaded machine..
1414
@skipIfAsan
1515
@skipIfCursesSupportMissing
16-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
16+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1717
def test_gui(self):
1818
self.build()
1919

lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TestGuiBasicDebugCommandTest(PExpectTest):
1313
# under ASAN on a loaded machine..
1414
@skipIfAsan
1515
@skipIfCursesSupportMissing
16-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
16+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1717
def test_gui(self):
1818
self.build()
1919

lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TestGuiExpandThreadsTree(PExpectTest):
1515
# under ASAN on a loaded machine..
1616
@skipIfAsan
1717
@skipIfCursesSupportMissing
18-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
18+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1919
@skipIf(bugnumber="rdar://97460266")
2020
def test_gui(self):
2121
self.build()

lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class GuiViewLargeCommandTest(PExpectTest):
1515
@skipIfCursesSupportMissing
1616
@skipIfRemote # "run" command will not work correctly for remote debug
1717
@expectedFailureNetBSD
18-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
18+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1919
def test_gui(self):
2020
self.build()
2121

lldb/test/API/commands/register/register/register_command/TestRegisters.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_sme_available(self):
4040
return None
4141

4242
@skipIfiOSSimulator
43-
@skipIf(archs=no_match(["amd64", "arm", "i386", "x86_64"]))
43+
@skipIf(archs=no_match(["amd64", "arm$", "i386", "x86_64"]))
4444
@expectedFailureAll(oslist=["freebsd", "netbsd"], bugnumber="llvm.org/pr48371")
4545
def test_register_commands(self):
4646
"""Test commands related to registers, in particular vector registers."""
@@ -100,7 +100,7 @@ def test_register_commands(self):
100100
# Writing of mxcsr register fails, presumably due to a kernel/hardware
101101
# problem
102102
@skipIfTargetAndroid(archs=["i386"])
103-
@skipIf(archs=no_match(["amd64", "arm", "i386", "x86_64"]))
103+
@skipIf(archs=no_match(["amd64", "arm$", "i386", "x86_64"]))
104104
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr37995")
105105
def test_fp_register_write(self):
106106
"""Test commands that write to registers, in particular floating-point registers."""
@@ -118,7 +118,7 @@ def test_fp_special_purpose_register_read(self):
118118
self.fp_special_purpose_register_read()
119119

120120
@skipIfiOSSimulator
121-
@skipIf(archs=no_match(["amd64", "arm", "i386", "x86_64"]))
121+
@skipIf(archs=no_match(["amd64", "arm$", "i386", "x86_64"]))
122122
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr37683")
123123
def test_register_expressions(self):
124124
"""Test expression evaluation with commands related to registers."""
@@ -556,7 +556,7 @@ def convenience_registers_with_process_attach(self, test_16bit_regs):
556556
self.expect("expr -- $ax == (($ah << 8) | $al)", substrs=["true"])
557557

558558
@skipIfiOSSimulator
559-
@skipIf(archs=no_match(["amd64", "arm", "i386", "x86_64"]))
559+
@skipIf(archs=no_match(["amd64", "arm$", "i386", "x86_64"]))
560560
def test_invalid_invocation(self):
561561
self.build()
562562
self.common_setup()
@@ -589,7 +589,7 @@ def test_invalid_invocation(self):
589589
)
590590

591591
@skipIfiOSSimulator
592-
@skipIf(archs=no_match(["amd64", "arm", "i386", "x86_64"]))
592+
@skipIf(archs=no_match(["amd64", "arm$", "i386", "x86_64"]))
593593
def test_write_unknown_register(self):
594594
self.build()
595595
self.common_setup()

lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def setUp(self):
2626
self.d = {"C_SOURCES": self.source, "EXE": self.exe_name}
2727

2828
# This is a arm and aarch64 specific test case. No other architectures tested.
29-
@skipIf(archs=no_match(["arm", "aarch64"]))
29+
@skipIf(archs=no_match(["arm$", "aarch64"]))
3030
def test_multiple_watchpoints_on_same_word(self):
3131
self.build(dictionary=self.d)
3232
self.setTearDownCleanup(dictionary=self.d)

lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class MultipleHitsTestCase(TestBase):
1515
@skipIf(
1616
bugnumber="llvm.org/pr30758",
1717
oslist=["linux"],
18-
archs=["arm", "aarch64", "powerpc64le"],
18+
archs=["arm$", "aarch64", "powerpc64le"],
1919
)
2020
@skipIfwatchOS
2121
def test(self):

lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_to_start(self, bkpt_text):
2121
@add_test_categories(["basic_process"])
2222
@expectedFailureAll(
2323
macos_version=["<", "14.4"],
24-
archs=["aarch64", "arm"],
24+
archs=["aarch64", "arm$"],
2525
bugnumber="<rdar://problem/106868647>",
2626
)
2727
def test_step_over_read_watchpoint(self):
@@ -64,7 +64,7 @@ def test_step_over_read_watchpoint(self):
6464
@add_test_categories(["basic_process"])
6565
@expectedFailureAll(
6666
macos_version=["<", "14.4"],
67-
archs=["aarch64", "arm"],
67+
archs=["aarch64", "arm$"],
6868
bugnumber="<rdar://problem/106868647>",
6969
)
7070
def test_step_over_write_watchpoint(self):

lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def setUp(self):
2727
self.d = {"C_SOURCES": self.source, "EXE": self.exe_name}
2828

2929
# Test hangs due to a kernel bug, see fdfeff0f in the linux kernel for details
30-
@skipIfTargetAndroid(api_levels=list(range(25 + 1)), archs=["aarch64", "arm"])
30+
@skipIfTargetAndroid(api_levels=list(range(25 + 1)), archs=["aarch64", "arm$"])
3131
@skip
3232
def test_watched_var_should_only_hit_when_in_scope(self):
3333
"""Test that a variable watchpoint should only hit when in scope."""

lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TestWatchpointCount(TestBase):
99

1010
@skipIf(
1111
oslist=["freebsd", "linux"],
12-
archs=["arm", "aarch64"],
12+
archs=["arm$", "aarch64"],
1313
bugnumber="llvm.org/pr26031",
1414
)
1515
def test_watchpoint_count(self):

lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def setUp(self):
3333
# Build dictionary to have unique executable names for each test
3434
# method.
3535

36-
@skipIf(oslist=["linux"], archs=["aarch64", "arm"], bugnumber="llvm.org/pr26031")
36+
@skipIf(oslist=["linux"], archs=["aarch64", "arm$"], bugnumber="llvm.org/pr26031")
3737
@skipIfWindows # This test is flaky on Windows
3838
def test_watchlocation_using_watchpoint_set(self):
3939
"""Test watching a location with 'watchpoint set expression -w write -s size' option."""

lldb/test/API/driver/batch_mode/TestBatchMode.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class DriverBatchModeTest(PExpectTest):
1414
source = "main.c"
1515

1616
@skipIf(macos_version=["<", "14.0"], asan=True)
17-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
17+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) # Randomly fails on buildbot
1818
@expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
1919
def test_batch_mode_run_crash(self):
2020
"""Test that the lldb driver's batch mode works correctly."""
@@ -52,7 +52,7 @@ def test_batch_mode_run_crash(self):
5252
self.expect("frame variable touch_me_not", substrs=["(char *) touch_me_not"])
5353

5454
@skipIf(macos_version=["<", "14.0"], asan=True)
55-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
55+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) # Randomly fails on buildbot
5656
@expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
5757
def test_batch_mode_run_exit(self):
5858
"""Test that the lldb driver's batch mode works correctly."""
@@ -89,7 +89,7 @@ def test_batch_mode_run_exit(self):
8989
child.expect(pexpect.EOF)
9090

9191
@skipIf(macos_version=["<", "14.0"], asan=True)
92-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
92+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) # Randomly fails on buildbot
9393
@expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
9494
def test_batch_mode_launch_stop_at_entry(self):
9595
"""Test that the lldb driver's batch mode works correctly for process launch."""
@@ -129,7 +129,7 @@ def closeVictim(self):
129129
self.victim = None
130130

131131
@skipIf(macos_version=["<", "14.0"], asan=True)
132-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
132+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) # Randomly fails on buildbot
133133
@expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
134134
@expectedFailureNetBSD
135135
def test_batch_mode_attach_exit(self):

lldb/test/API/driver/job_control/TestJobControl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class JobControlTest(PExpectTest):
1111
@skipIf(macos_version=["<", "14.0"], asan=True)
12-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
12+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1313
def test_job_control(self):
1414
def post_spawn():
1515
self.child.expect("PID=([0-9]+)")

lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class BreakpointCallbackCommandSource(PExpectTest):
1919
# under ASAN on a loaded machine..
2020
@skipIfAsan
2121
@skipIfEditlineSupportMissing
22-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
22+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
2323
@skipIf(oslist=["freebsd"], bugnumber="llvm.org/pr48316")
2424
def test_breakpoint_callback_command_source(self):
2525
self.build()

lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_step_over(self):
9090
)
9191

9292
# Was reported to sometimes pass on certain hardware.
93-
@skipIf(oslist=["linux"], archs=["arm"])
93+
@skipIf(oslist=["linux"], archs=["arm$"])
9494
@skipTestIfFn(HardwareBreakpointTestBase.supports_hw_breakpoints)
9595
def test_step_until(self):
9696
"""Test stepping until when hardware breakpoints are required."""

lldb/test/API/functionalities/breakpoint/two_hits_one_actual/TestTwoHitsOneActual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class TestTwoHitsOneActual(TestBase):
1515
NO_DEBUG_INFO_TESTCASE = True
1616

17-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
17+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1818
def test_two_hits_one_actual(self):
1919
"""There can be many tests in a test case - describe this test here."""
2020
self.build()

lldb/test/API/functionalities/bt-interrupt/TestInterruptBacktrace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class TestInterruptingBacktrace(TestBase):
1313
NO_DEBUG_INFO_TESTCASE = True
1414

15-
@skipIf(oslist=["linux"], archs=["arm"])
15+
@skipIf(oslist=["linux"], archs=["arm$"])
1616
def test_backtrace_interrupt(self):
1717
"""Use RequestInterrupt followed by stack operations
1818
to ensure correct interrupt behavior for stacks."""

lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def testAllPlatforms(self):
3737
@no_debug_info_test
3838
@skipIfWindows
3939
# uint128_t not available on arm.
40-
@skipIf(archs=["arm"])
40+
@skipIf(archs=["arm$"])
4141
def test(self):
4242
self.build()
4343
lldbutil.run_to_source_breakpoint(
@@ -118,10 +118,12 @@ def test(self):
118118
self.assertIn("= 0x1p1\n", self.getFormatted("hex float", "2.0f"))
119119
self.assertIn("= 0x1p1\n", self.getFormatted("hex float", "2.0"))
120120
# FIXME: long double not supported.
121-
self.assertIn(
122-
"= error: unsupported byte size (16) for hex float format\n",
123-
self.getFormatted("hex float", "2.0l"),
124-
)
121+
# on Darwin arm64, long double is 8 bytes, same as long.
122+
if self.getArchitecture() != "arm64":
123+
self.assertIn(
124+
"= error: unsupported byte size (16) for hex float format\n",
125+
self.getFormatted("hex float", "2.0l"),
126+
)
125127

126128
# uppercase hex
127129
self.assertIn("= 0x00ABC123\n", self.getFormatted("uppercase hex", "0xABC123"))

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class StdUniquePtrDataFormatterTestCase(TestBase):
1313
@add_test_categories(["libstdcxx"])
1414
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
15-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
15+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
1616
def test_with_run_command(self):
1717
self.build()
1818
self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
@@ -89,7 +89,7 @@ def test_with_run_command(self):
8989
@skipIfWindows # libstdcpp not ported to Windows
9090
@skipIfDarwin # doesn't compile on Darwin
9191
@skipIfwatchOS # libstdcpp not ported to watchos
92-
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
92+
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
9393
@add_test_categories(["libstdcxx"])
9494
def test_recursive_unique_ptr(self):
9595
# Tests that LLDB can handle when we have a loop in the unique_ptr

lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
class TestLinux64LaunchingViaDynamicLoader(TestBase):
1414
@skipIf(oslist=no_match(["linux"]))
1515
@no_debug_info_test
16-
@skipIf(oslist=["linux"], archs=["arm"])
16+
@skipIf(oslist=["linux"], archs=["arm$"])
1717
def test(self):
1818
self.build()
1919

lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class AssertingInferiorTestCase(TestBase):
1212
oslist=["windows"],
1313
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
1414
)
15-
@expectedFailureAll(oslist=["linux"], archs=["arm"], bugnumber="llvm.org/pr25338")
15+
@expectedFailureAll(oslist=["linux"], archs=["arm$"], bugnumber="llvm.org/pr25338")
1616
@expectedFailureAll(bugnumber="llvm.org/pr26592", triple="^mips")
1717
def test_inferior_asserting(self):
1818
"""Test that lldb reliably catches the inferior asserting (command)."""
@@ -35,7 +35,7 @@ def test_inferior_asserting_register(self):
3535
)
3636
@expectedFailureAll(
3737
oslist=["linux"],
38-
archs=["arm"],
38+
archs=["arm$"],
3939
triple=no_match(".*-android"),
4040
bugnumber="llvm.org/pr25338",
4141
)
@@ -61,7 +61,7 @@ def test_inferior_asserting_python(self):
6161
)
6262
@expectedFailureAll(
6363
oslist=["linux"],
64-
archs=["arm"],
64+
archs=["arm$"],
6565
triple=no_match(".*-android"),
6666
bugnumber="llvm.org/pr25338",
6767
)
@@ -77,7 +77,7 @@ def test_inferior_asserting_expr(self):
7777
)
7878
@expectedFailureAll(
7979
oslist=["linux"],
80-
archs=["arm"],
80+
archs=["arm$"],
8181
triple=no_match(".*-android"),
8282
bugnumber="llvm.org/pr25338",
8383
)

0 commit comments

Comments
 (0)