tst_QSharedPointer: Terminate hanging qmake-processes
Change-Id: I580ff3ccbecba81c09ce3fc3e082b906f956171d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
b7227d7c40
commit
807f3d32b1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user