diff options
| author | Jason Molenda <jmolenda@apple.com> | 2025-05-27 18:37:26 -0700 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2025-05-27 18:41:16 -0700 |
| commit | 6d6feaf7e3ce559f69477b8d682cffb63336ca53 (patch) | |
| tree | 135bd57291e41240f311b984634b16b7a3d0eec0 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | |
| parent | e2f118df1dc9c3f5dbff68393d2a91ad3543d71e (diff) | |
[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.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
| -rw-r--r-- | lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py index 5dd268be4cb0..235022c7e381 100644 --- a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py +++ b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py @@ -45,7 +45,7 @@ class GlobalModuleCacheTestCase(TestBase): # On Arm and AArch64 Linux, this test attempts to pop a thread plan when # we only have the base plan remaining. Skip it until we can figure out # the bug this is exposing (https://github.com/llvm/llvm-project/issues/76057). - @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) + @skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) def test_OneTargetOneDebugger(self): self.do_test(True, True) @@ -53,13 +53,13 @@ class GlobalModuleCacheTestCase(TestBase): # This test tests for the desired behavior as an expected fail. @skipIfWindows @expectedFailureAll - @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) + @skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) def test_TwoTargetsOneDebugger(self): self.do_test(False, True) @skipIfWindows @expectedFailureAll - @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) + @skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) def test_OneTargetTwoDebuggers(self): self.do_test(True, False) |
