forked from qt-creator/qt-creator
Debugger: More verbose test output in case of failure
Change-Id: I41d9b634be850bfbc666c1a929b0f82b7f741069 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -1147,7 +1147,10 @@ void tst_Dumpers::dumper()
|
||||
QByteArray contents;
|
||||
if (m_debuggerEngine == GdbEngine) {
|
||||
int posDataStart = output.indexOf("data=");
|
||||
QVERIFY(posDataStart != -1);
|
||||
if (posDataStart == -1) {
|
||||
qDebug() << "NO \"data=\" IN OUTPUT: " << output;
|
||||
QVERIFY(posDataStart != -1);
|
||||
}
|
||||
contents = output.mid(posDataStart);
|
||||
contents.replace("\\\"", "\"");
|
||||
|
||||
|
Reference in New Issue
Block a user