QLatin1String("collect2: ld returned 1 exit status"),
QString(),-1,
Constants::TASK_CATEGORY_COMPILE)
)
<<QString();
QTest::newRow("linker: dll format not recognized")
<<QString::fromLatin1("c:\\Qt\\4.6\\lib/QtGuid4.dll: file not recognized: File format not recognized")
<<OutputParserTester::STDERR
<<QString()<<QString()
<<(QList<ProjectExplorer::Task>()
<<Task(Task::Error,
QLatin1String("file not recognized: File format not recognized"),
QLatin1String("c:\\Qt\\4.6\\lib/QtGuid4.dll"),-1,
Constants::TASK_CATEGORY_COMPILE))
<<QString();
QTest::newRow("Invalid rpath")
<<QString::fromLatin1("g++: /usr/local/lib: No such file or directory")
<<OutputParserTester::STDERR
<<QString()<<QString()
<<(QList<ProjectExplorer::Task>()
<<Task(Task::Error,
QLatin1String("/usr/local/lib: No such file or directory"),
QString(),-1,
Constants::TASK_CATEGORY_COMPILE))
<<QString();
QTest::newRow("Invalid rpath")
<<QString::fromLatin1("../../../../master/src/plugins/debugger/gdb/gdbengine.cpp: In member function 'void Debugger::Internal::GdbEngine::handleBreakInsert2(const Debugger::Internal::GdbResponse&)':\n"
<<QString::fromLatin1("/home/code/src/creator/src/plugins/projectexplorer/gnumakeparser.cpp: In member function 'void ProjectExplorer::ProjectExplorerPlugin::testGnuMakeParserTaskMangling_data()':\n"
"/home/code/src/creator/src/plugins/projectexplorer/gnumakeparser.cpp:264: error: expected primary-expression before ':' token\n"
"/home/code/src/creator/src/plugins/projectexplorer/gnumakeparser.cpp:264: error: expected ';' before ':' token")
<<OutputParserTester::STDERR
<<QString()<<QString()
<<(QList<ProjectExplorer::Task>()
<<Task(Task::Unknown,
QLatin1String("In member function 'void ProjectExplorer::ProjectExplorerPlugin::testGnuMakeParserTaskMangling_data()':"),
<<QString::fromLatin1("distcc[73168] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work\n"
"distcc[73168] (dcc_build_somewhere) Warning: failed to distribute, running locally instead")
<<OutputParserTester::STDERR
<<QString()<<QString::fromLatin1("distcc[73168] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work\n"
"distcc[73168] (dcc_build_somewhere) Warning: failed to distribute, running locally instead")
<<QList<ProjectExplorer::Task>()
<<QString();
QTest::newRow("ld warning (QTCREATORBUG-905)")
<<QString::fromLatin1("ld: warning: Core::IEditor* QVariant::value<Core::IEditor*>() const has different visibility (hidden) in .obj/debug-shared/openeditorsview.o and (default) in .obj/debug-shared/editormanager.o")
<<OutputParserTester::STDERR
<<QString()<<QString()
<<(QList<ProjectExplorer::Task>()
<<Task(Task::Warning,
QLatin1String("Core::IEditor* QVariant::value<Core::IEditor*>() const has different visibility (hidden) in .obj/debug-shared/openeditorsview.o and (default) in .obj/debug-shared/editormanager.o"),
QString(),-1,
Constants::TASK_CATEGORY_COMPILE))
<<QString();
QTest::newRow("ld fatal")
<<QString::fromLatin1("ld: fatal: Symbol referencing errors. No output written to testproject")
<<OutputParserTester::STDERR
<<QString()<<QString()
<<(QList<ProjectExplorer::Task>()
<<Task(Task::Error,
QLatin1String("Symbol referencing errors. No output written to testproject"),
QString(),-1,
Constants::TASK_CATEGORY_COMPILE))
<<QString();
QTest::newRow("Teambuilder issues")
<<QString::fromLatin1("TeamBuilder Client:: error: could not find Scheduler, running Job locally...")
<<OutputParserTester::STDERR
<<QString()<<QString::fromLatin1("TeamBuilder Client:: error: could not find Scheduler, running Job locally...")
<<QList<ProjectExplorer::Task>()
<<QString();
QTest::newRow("note")
<<QString::fromLatin1("/home/dev/creator/share/qtcreator/gdbmacros/gdbmacros.cpp:1079: note: initialized from here")