Commit d77b27c5 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

test2task.pl: Mark XPASS as an error as well.



Change-Id: I1e757c77249d25edccb8a8688ccc259383cb210e
Reviewed-by: default avatarhjk <qthjk@ovi.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 21cf52ae
......@@ -110,7 +110,8 @@ while (my $line = <STDIN> ) {
$fullFileName = $fileHash{$fileName};
$fullFileName = $fileName unless defined $fullFileName;
}
my $type = index($lastLine, 'FAIL') == 0 ? 'err' : 'unknown';
my $type = index($lastLine, 'FAIL') == 0 || index($lastLine, 'XPASS') == 0 ?
'err' : 'unknown';
print $fullFileName, "\t", $line, "\t", $type, "\t", $lastLine,"\n";
$failCount++;
} else {
......
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