aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test2tasks.pl
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-26 16:35:31 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-26 23:05:48 +0200
commitd77b27c5562d4f7624271cbd1a4c5b308d2addbd (patch)
treea7fb626bf39884babfebd3cd142c3318f4dc28b5 /scripts/test2tasks.pl
parent21cf52aeea86ec0eb15ac953dba6d5cb685bbeff (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-xscripts/test2tasks.pl3
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 {