Skip to content

Commit ff5a737

Browse files
committed
[lldb][test] TestFrameVarDILGlobalVariableLookup: only XFAIL earlier DWARF versions on macOS
On Linux we would use the manual DWARF index and the failing test assertion (see `c40b6904751da529a0436faf72d5d63d35484689`) would still pass.
1 parent e624048 commit ff5a737

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lldb/test/API/commands/frame/var-dil/basics/GlobalVariableLookup/TestFrameVarDILGlobalVariableLookup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ class TestFrameVarDILGlobalVariableLookup(TestBase):
1919
NO_DEBUG_INFO_TESTCASE = True
2020

2121
@skipIf(macos_version=["<", "15.0"], archs=["arm64", "arm64e"])
22-
@expectedFailureAll(dwarf_version=["<", "5"])
22+
@expectedFailureAll(
23+
dwarf_version=["<", "5"],
24+
oslist=[lldbplatformutil.getDarwinOSTriples()],
25+
)
2326
@expectedFailureAll(
2427
compiler="clang",
2528
compiler_version=["<", "19.0"],

0 commit comments

Comments
 (0)