Differential D42281 Diff 131103 packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
Changeset View
Changeset View
Standalone View
Standalone View
packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
Show All 40 Lines | 40 | @expectedFailureAll( | |||
---|---|---|---|---|---|
41 | hostoslist=["windows"], | 41 | hostoslist=["windows"], | ||
42 | bugnumber="llvm.org/pr22274: need a pexpect replacement for windows") | 42 | bugnumber="llvm.org/pr22274: need a pexpect replacement for windows") | ||
43 | def test_stop_hook_multiple_threads(self): | 43 | def test_stop_hook_multiple_threads(self): | ||
44 | """Test that lldb stop-hook works for multiple threads.""" | 44 | """Test that lldb stop-hook works for multiple threads.""" | ||
45 | self.build(dictionary=self.d) | 45 | self.build(dictionary=self.d) | ||
46 | self.setTearDownCleanup(dictionary=self.d) | 46 | self.setTearDownCleanup(dictionary=self.d) | ||
47 | 47 | | |||
48 | import pexpect | 48 | import pexpect | ||
49 | exe = os.path.join(os.getcwd(), self.exe_name) | 49 | exe = self.getBuildArtifact(self.exe_name) | ||
50 | prompt = "(lldb) " | 50 | prompt = "(lldb) " | ||
51 | 51 | | |||
52 | # So that the child gets torn down after the test. | 52 | # So that the child gets torn down after the test. | ||
53 | self.child = pexpect.spawn('%s %s' % | 53 | self.child = pexpect.spawn('%s %s' % | ||
54 | (lldbtest_config.lldbExec, self.lldbOption)) | 54 | (lldbtest_config.lldbExec, self.lldbOption)) | ||
55 | child = self.child | 55 | child = self.child | ||
56 | # Turn on logging for what the child sends back. | 56 | # Turn on logging for what the child sends back. | ||
57 | if self.TraceOn(): | 57 | if self.TraceOn(): | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |