forked from qt-creator/qt-creator
test2task.pl: Mark XPASS as an error as well.
Change-Id: I1e757c77249d25edccb8a8688ccc259383cb210e Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user