Commit d85e9bbe authored by Claus Steuer's avatar Claus Steuer Committed by Christian Stenger

AutoTest: Fix test result output when debugging tests

When executing tests in debug mode the results are not displayed
as usual in the test result pane. In debug mode a newline character
is added to each line before passing it to the outputreader. The regular
expressions used in the GTest- and QtTestOutputReader do not match
because of the newline character.

Change-Id: Ia8051497097c950b5cf2d64cd4de0cb425802c50
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent 43c0d896
......@@ -295,7 +295,7 @@ static void processOutput(TestOutputReader *outputreader, const QString &msg,
for (const QString &line : msg.mid(start).split('\n'))
outputreader->processOutput(line.toUtf8() + '\n');
case Utils::OutputFormat::StdErrFormatSameLine:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment