Dumpers: Quit test immediately if make fails

Change-Id: Idee48a997dce047e5ad90d133fce9c610f609a9a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2017-09-17 22:34:35 +03:00
committed by Orgad Shaneh
parent 119fc885be
commit c94b813561

View File

@@ -1405,6 +1405,7 @@ void tst_Dumpers::dumper()
qDebug().noquote() << fullCode; qDebug().noquote() << fullCode;
qDebug() << "\n------------------ CODE --------------------"; qDebug() << "\n------------------ CODE --------------------";
qDebug().noquote() << "Project file: " << proFile.fileName(); qDebug().noquote() << "Project file: " << proFile.fileName();
QCOMPARE(make.exitCode(), 0);
} }
if (data.neededDwarfVersion.isRestricted) { if (data.neededDwarfVersion.isRestricted) {