David Spickett cf2f433458 [lldb] Remove Windows XFAIL for TestDollarInVariable.py
Since 5d66f9fd8e97c05a5dba317d3ad2566e61ead1ff this test has
been upassing on Linaro's Windows on Arm lldb bot:
https://lab.llvm.org/buildbot/#/builders/219/builds/4320

I can't explain exactly how that happened, but I do see a bunch
of QEnvironment packets going by in that test. It is very likely
that the order would have been different on Windows.

Indeed, when it was xfailed back in df9051e7cfda5519f4584cda22e9ef2006517e94
the reason was not known either.
2023-07-24 13:25:34 +00:00

21 lines
718 B
Python

import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class TestCase(TestBase):
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(
self, "// break here", lldb.SBFileSpec("main.c")
)
self.expect_expr("$__lldb_expr_result", result_type="int", result_value="11")
self.expect_expr("$foo", result_type="int", result_value="12")
self.expect_expr("$R0", result_type="int", result_value="13")
self.expect(
"expr int $foo = 123", error=True, substrs=["declaration conflicts"]
)
self.expect_expr("$0", result_type="int", result_value="11")