tst_QSharedPointer: Terminate hanging qmake-processes

Change-Id: I580ff3ccbecba81c09ce3fc3e082b906f956171d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Friedemann Kleint 2017-06-28 16:36:02 +02:00
parent b7227d7c40
commit 807f3d32b1

View File

@ -593,6 +593,8 @@ namespace QTest {
} else {
ok = qmake.waitForFinished();
exitCode = qmake.exitCode();
if (!ok)
qmake.terminate();
std_out += qmake.readAllStandardOutput();
std_err += qmake.readAllStandardError();