brintos

brintos / llvm-project-archived public Read only

0
0
Text · 550 B · 7fce259 Raw
23 lines · python
1"""2Make sure that the fork child keeps running.3"""4 5 6import lldb7import lldbsuite.test.lldbutil as lldbutil8from lldbsuite.test.lldbtest import *9from lldbsuite.test.decorators import *10 11 12class TestForkResumesChild(TestBase):13    NO_DEBUG_INFO_TESTCASE = True14 15    @skipIfWindows16    def test_step_over_fork(self):17        self.build()18        lldbutil.run_to_source_breakpoint(19            self, "// break here", lldb.SBFileSpec("main.cpp")20        )21        self.runCmd("next")22        self.expect("continue", substrs=["exited with status = 0"])23