forked from qt-creator/qt-creator
AutoTest: Improve process error handling
If the test executable cannot be started or it seems not to be the correct one or wrong arguments have been passed to it the user now gets a respective message inside the results pane. Task-number: QTCREATORBUG-18955 Change-Id: Ica68cdbb9e401c8d48a9ce8b23b65d5410d2075a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -66,5 +66,11 @@ void TestOutputReader::processStdError(const QByteArray &output)
|
||||
qWarning() << "AutoTest.Run: Ignored plain output:" << output;
|
||||
}
|
||||
|
||||
void TestOutputReader::reportResult(const TestResultPtr &result)
|
||||
{
|
||||
m_futureInterface.reportResult(result);
|
||||
m_hadValidOutput = true;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Autotest
|
||||
|
||||
Reference in New Issue
Block a user