forked from qt-creator/qt-creator
AutoTest: Fix handling exceptions while environment setup
If setting up the environment for gtest fails due to an exception we might end up having no reportable result but we get a return code of 1 for the test application. Inform the results pane instead of just ignoring the return code and explicitly send a fatal result for this. Task-number: QTCREATORBUG-20280 Change-Id: I05e522764d6302c5b0760c4bc10e01a2248a4494 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -45,6 +45,7 @@ public:
|
||||
virtual void processOutput(const QByteArray &outputLine) = 0;
|
||||
virtual void processStdError(const QByteArray &output);
|
||||
void reportCrash();
|
||||
void createAndReportResult(const QString &message, Result::Type type);
|
||||
bool hadValidOutput() const { return m_hadValidOutput; }
|
||||
|
||||
signals:
|
||||
|
||||
Reference in New Issue
Block a user