Skip to content
Snippets Groups Projects
Commit 84eeb798 authored by Kai Koehne's avatar Kai Koehne
Browse files

ApplicationOutput: Fix linkification of errors from qttest

Don't check for end of string (does contain LF in case of qttestlib).
Also don't check prefix for asserts, cause qttestlib extends these.

Reviewed-by: Tobias Hunger
parent 491acf24
No related branches found
No related tags found
No related merge requests found
......@@ -53,9 +53,8 @@ QtOutputFormatter::QtOutputFormatter(ProjectExplorer::Project *project)
"(?::\\d+)?)" // colon, column (optional)
":")) // colon
, m_qtError(QLatin1String("Object::.*in (.*:\\d+)"))
, m_qtAssert(QLatin1String("^(?:\\[Qt Message\\] )?" // '[Qt Message] ' prefix (optional, on Symbian)
"ASSERT: .* in file (.+, line \\d+)$"))
, m_qtTestFail(QLatin1String("^ Loc: \\[(.*)\\]$"))
, m_qtAssert(QLatin1String("ASSERT: .* in file (.+, line \\d+)"))
, m_qtTestFail(QLatin1String("^ Loc: \\[(.*)\\]"))
, m_project(project)
{
if(project) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment