[TestBatchMode] We already log this output to a file.

llvm-svn: 356003
This commit is contained in:
Davide Italiano 2019-03-13 02:47:51 +00:00
parent cd49351212
commit 0b29af0f7c
1 changed files with 0 additions and 12 deletions

View File

@ -56,9 +56,6 @@ class DriverBatchModeTest (TestBase):
'%s %s %s %s -- CRASH' % '%s %s %s %s -- CRASH' %
(lldbtest_config.lldbExec, self.lldbOption, run_commands, exe)) (lldbtest_config.lldbExec, self.lldbOption, run_commands, exe))
child = self.child child = self.child
# Turn on logging for what the child sends back.
if self.TraceOn():
child.logfile_read = sys.stdout
# We should see the "run": # We should see the "run":
self.expect_string("run") self.expect_string("run")
@ -97,9 +94,6 @@ class DriverBatchModeTest (TestBase):
'%s %s %s %s -- NOCRASH' % '%s %s %s %s -- NOCRASH' %
(lldbtest_config.lldbExec, self.lldbOption, run_commands, exe)) (lldbtest_config.lldbExec, self.lldbOption, run_commands, exe))
child = self.child child = self.child
# Turn on logging for what the child sends back.
if self.TraceOn():
child.logfile_read = sys.stdout
# We should see the "run": # We should see the "run":
self.expect_string("run") self.expect_string("run")
@ -148,9 +142,6 @@ class DriverBatchModeTest (TestBase):
self.addTearDownHook(self.closeVictim) self.addTearDownHook(self.closeVictim)
if self.TraceOn():
self.victim.logfile_read = sys.stdout
self.victim.expect("PID: ([0-9]+) END") self.victim.expect("PID: ([0-9]+) END")
if self.victim.match is None: if self.victim.match is None:
self.fail("Couldn't get the target PID.") self.fail("Couldn't get the target PID.")
@ -169,9 +160,6 @@ class DriverBatchModeTest (TestBase):
exe)) exe))
child = self.child child = self.child
# Turn on logging for what the child sends back.
if self.TraceOn():
child.logfile_read = sys.stdout
# We should see the "run": # We should see the "run":
self.expect_string("attach") self.expect_string("attach")