diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-26 16:35:31 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-26 23:05:48 +0200 |
commit | d77b27c5562d4f7624271cbd1a4c5b308d2addbd (patch) | |
tree | a7fb626bf39884babfebd3cd142c3318f4dc28b5 /scripts/test2tasks.pl | |
parent | 21cf52aeea86ec0eb15ac953dba6d5cb685bbeff (diff) |
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>
Diffstat (limited to 'scripts/test2tasks.pl')
-rwxr-xr-x | scripts/test2tasks.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test2tasks.pl b/scripts/test2tasks.pl index 88fa2f46c7..fbfbc1fc76 100755 --- a/scripts/test2tasks.pl +++ b/scripts/test2tasks.pl @@ -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 { |