Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / iohandler / stdio / TestIOHandlerProcessSTDIO.py
blob89017b0b9331a1efdcbd114256ca242413d7b749
1 import lldb
2 from lldbsuite.test.decorators import *
3 from lldbsuite.test.lldbtest import *
4 from lldbsuite.test.lldbpexpect import PExpectTest
7 class TestIOHandlerProcessSTDIO(PExpectTest):
8 NO_DEBUG_INFO_TESTCASE = True
10 # PExpect uses many timeouts internally and doesn't play well
11 # under ASAN on a loaded machine..
12 @skipIfAsan
13 @skipIf(oslist=["linux"], archs=["arm", "aarch64"])
14 def test(self):
15 self.build()
16 self.launch(executable=self.getBuildArtifact("a.out"))
17 self.child.sendline("run")
19 self.child.send("foo\n")
20 self.child.expect_exact("stdout: foo")
22 self.child.send("bar\n")
23 self.child.expect_exact("stdout: bar")
25 self.child.send("baz\n")
26 self.child.expect_exact("stdout: baz")
28 self.child.sendcontrol("d")
29 self.quit()