Commit 14a02d50 authored by Christian Stenger's avatar Christian Stenger Committed by hjk

Debugger: Tests: Fix execution of dumper tests on OSX

Change-Id: Ibe3e447d29e3834766ef067ba4424c3b08ba5eb1
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent a37e30eb
......@@ -1721,7 +1721,7 @@ class Tester(Dumper):
self.expandedINames = set(expandedINames)
self.passExceptions = True
self.loadDumperFiles()
self.loadDumperFiles({})
error = lldb.SBError()
self.target = self.debugger.CreateTarget(binary, None, None, True, error)
......
......@@ -1287,6 +1287,8 @@ void tst_Dumpers::dumper()
debugger.setWorkingDirectory(t->buildPath);
debugger.start(QString::fromLatin1(exe), args);
QVERIFY(debugger.waitForStarted());
// FIXME: next line is necessary for LLDB <= 310 - remove asap
debugger.waitForReadyRead(1000);
debugger.write(cmds);
QVERIFY(debugger.waitForFinished());
output = debugger.readAllStandardOutput();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment