Gcc: Do not report ar messages as error

Task-number: QTCREATORBUG-6912

Change-Id: I25376752e5d4d0c433f65f4c99a238c73efc1798
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2012-02-06 14:50:55 +01:00
parent f33d21754b
commit 2333109d64
2 changed files with 9 additions and 2 deletions

View File

@@ -160,6 +160,12 @@ void ProjectExplorerPlugin::testGccOutputParsers_data()
<< QList<ProjectExplorer::Task>()
<< QString();
QTest::newRow("ar output")
<< QString::fromLatin1("../../../../x86/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-ar: creating lib/libSkyView.a") << OutputParserTester::STDERR
<< QString() << QString::fromLatin1("../../../../x86/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-ar: creating lib/libSkyView.a\n")
<< QList<ProjectExplorer::Task>()
<< QString();
QTest::newRow("GCCE error")
<< QString::fromLatin1("/temp/test/untitled8/main.cpp: In function `int main(int, char**)':\n"
"/temp/test/untitled8/main.cpp:9: error: `sfasdf' undeclared (first use this function)\n"