From 6d6feaf7e3ce559f69477b8d682cffb63336ca53 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 27 May 2025 18:37:26 -0700 Subject: [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. --- lldb/test/API/python_api/thread/TestThreadAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py') diff --git a/lldb/test/API/python_api/thread/TestThreadAPI.py b/lldb/test/API/python_api/thread/TestThreadAPI.py index 1898c6a2a979..5583434a742a 100644 --- a/lldb/test/API/python_api/thread/TestThreadAPI.py +++ b/lldb/test/API/python_api/thread/TestThreadAPI.py @@ -29,7 +29,7 @@ class ThreadAPITestCase(TestBase): self.run_to_address(self.exe_name) @skipIfAsan # The output looks different under ASAN. - @expectedFailureAll(oslist=["linux"], archs=["arm"], bugnumber="llvm.org/pr45892") + @expectedFailureAll(oslist=["linux"], archs=["arm$"], bugnumber="llvm.org/pr45892") @expectedFailureAll(oslist=["windows"]) def test_step_out_of_malloc_into_function_b(self): """Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b().""" -- cgit v1.2.3