Revision: 6164 http://ipcop.svn.sourceforge.net/ipcop/?rev=6164&view=rev Author: gespinasse Date: 2011-12-16 09:20:42 +0000 (Fri, 16 Dec 2011) Log Message: ----------- Reset the color before the first print in case we broke something on previous attempt.
Add an advice that every cairo full log could be removed as no more used and sparing 3MB per test Add decoding logic for cairo summary Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2011-12-16 09:13:39 UTC (rev 6163) +++ ipcop/trunk/tools/error-parser 2011-12-16 09:20:42 UTC (rev 6164) @@ -47,8 +47,9 @@ if ( $f eq "." || $f eq ".." ) { next; } if ( $f =~ m!^glibc! && $f =~ m!summary! ) { next; } # skip glibc summary if ( $f =~ m!^gcc! && $f !~ m!summary! ) { next; } # skip gcc not the summary + if ( $f =~ m!^cairo-([\.\d])+\-03! ) { print "\t$testdir/$f no more used, could be removed\n"; next; } - print "Reading $f"; + print RESET "Reading $f"; if ( $f =~ m!^bc! ) { # There is always errors and we don't care if there is not too much @@ -64,6 +65,17 @@ } else { print BOLD, BLUE, "\t $error errors considered too much\n", RESET; } + } elsif ( $f =~ m!^cairo-.*-summary-.*! ) { + print "\n"; # Case with no error is not considered actually. + # Print every lines and retrieve error count + open FILE, "$testdir/$f" or die $!; + while (my $line = <FILE>) { + if ( $line =~ m!Failures per surface - image: (\d*)\.$!) { $error = $1; } + print BOLD, BLUE, "$line" if ($line !~ m!^make! ); + } + close (FILE); + # Stay with 'Approximately' as it is convenient to use | grep Approx to only see error count on quick check + print RESET " Approximately $error error(s) with $testdir/$f\n"; } else { # FAILED | UNEXPECTED PASS from autoconf lib/general.m4 # ^ERROR:|^FAIL:|^XPASS: from automake and derivated @@ -101,8 +113,8 @@ if ( $error==0 ) { print " no error\n"; } else { - # we may count more errors than really depending of makefile deepness - print " Approximately $error error(s) with $f\n"; + # we may count more errors than reality, depending of makefile deepness + print " Approximately $error error(s) with $testdir/$f\n"; } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn