From d77b27c5562d4f7624271cbd1a4c5b308d2addbd Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 26 Jul 2012 16:35:31 +0200 Subject: test2task.pl: Mark XPASS as an error as well. Change-Id: I1e757c77249d25edccb8a8688ccc259383cb210e Reviewed-by: hjk Reviewed-by: Tobias Hunger --- scripts/test2tasks.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/test2tasks.pl') 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 = ) { $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 { -- cgit v1.2.3