forked from qt-creator/qt-creator
OutputParser: Parsers with fatal errors will now cause failure for all steps
Remove handling of parsers reporting fatal errors from the qmake based makestep and add it to abstractprocessstep instead. This makes the osparser work with all build systems. Change-Id: I1044d0e6002d2157946e0342fe060991ffe37ffa Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -298,15 +298,6 @@ void MakeStep::run(QFutureInterface<bool> & fi)
|
||||
AbstractProcessStep::run(fi);
|
||||
}
|
||||
|
||||
bool MakeStep::processSucceeded(int exitCode, QProcess::ExitStatus status)
|
||||
{
|
||||
// Symbian does retun 0, even on failed makes! So we check for fatal make errors here.
|
||||
if (outputParser() && outputParser()->hasFatalErrors())
|
||||
return false;
|
||||
|
||||
return AbstractProcessStep::processSucceeded(exitCode, status);
|
||||
}
|
||||
|
||||
bool MakeStep::immutable() const
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user