brintos

brintos / llvm-project-archived public Read only

0
0
Text · 547 B · a06ff57 Raw
18 lines · python
1import lldb2from lldbsuite.test.decorators import *3from lldbsuite.test.lldbtest import *4from lldbsuite.test import lldbutil5 6 7class TestCase(TestBase):8    def test(self):9        self.build()10        lldbutil.run_to_source_breakpoint(self, "break here", lldb.SBFileSpec("main.m"))11        self.expect(12            "expr -O -- bad", substrs=["error:", "expression interrupted", "(Bad *) 0x"]13        )14        self.expect(15            "dwim-print -O -- bad",16            substrs=["error:", "expression interrupted", "_lookHere = NO"],17        )18