From: <ges...@us...> - 2010-11-14 06:14:53
|
Revision: 5126 http://ipcop.svn.sourceforge.net/ipcop/?rev=5126&view=rev Author: gespinasse Date: 2010-11-14 06:14:46 +0000 (Sun, 14 Nov 2010) Log Message: ----------- Show glib ' Error ', a detail as dbus is not compiled Show 'program timed out', may come from gcc if your machine is not fast enought Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2010-11-14 05:28:06 UTC (rev 5125) +++ ipcop/trunk/tools/error-parser 2010-11-14 06:14:46 UTC (rev 5126) @@ -67,12 +67,12 @@ } else { # FAILED | UNEXPECTED PASS from autoconf lib/general.m4 # ^ERROR:|^FAIL:|^XPASS: from automake and derivated - $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; + $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out"; # Add " Error " match on a few package only # because XFAIL may generate Error like with sed # Those packages are the one with log needing more investigations # With Error, we will catch for sure the makefile error but may not print the specific message - if ( $f =~ m!bash|e2fsprogs|flex|gawk|glibc|gnupg|module-init-tools|openssh|openssl|pcre! ) { + if ( $f =~ m!bash|e2fsprogs|flex|gawk|glib[^c]|glibc|gnupg|module-init-tools|openssh|openssl|pcre! ) { $errorstring= "$errorstring| Error "; } if ( $f =~ m!^tcl|^expect! ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2010-11-17 20:47:15
|
Revision: 5140 http://ipcop.svn.sourceforge.net/ipcop/?rev=5140&view=rev Author: gespinasse Date: 2010-11-17 20:47:07 +0000 (Wed, 17 Nov 2010) Log Message: ----------- Prepare for libxml2 test suite Be more selective on generic ' Error ' message and accept only numbers after Error Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2010-11-17 10:49:34 UTC (rev 5139) +++ ipcop/trunk/tools/error-parser 2010-11-17 20:47:07 UTC (rev 5140) @@ -67,13 +67,15 @@ } else { # FAILED | UNEXPECTED PASS from autoconf lib/general.m4 # ^ERROR:|^FAIL:|^XPASS: from automake and derivated - $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out"; + # ' program timed out' from gcc + # ' an error' from libxml2, try to compile (if that compile) --with-minimum to trigger error + $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out| an error"; # Add " Error " match on a few package only # because XFAIL may generate Error like with sed # Those packages are the one with log needing more investigations # With Error, we will catch for sure the makefile error but may not print the specific message - if ( $f =~ m!bash|e2fsprogs|flex|gawk|glib[^c]|glibc|gnupg|module-init-tools|openssh|openssl|pcre! ) { - $errorstring= "$errorstring| Error "; + if ( $f =~ m!bash|e2fsprogs|flex|gawk|glib[^c]|glibc|gnupg|libxml2|module-init-tools|openssh|openssl|pcre! ) { + $errorstring= "$errorstring| Error [0-9]\+\$"; } if ( $f =~ m!^tcl|^expect! ) { # without ending space on FAILED, that would wrongly match on flex This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2010-11-18 18:45:58
|
Revision: 5142 http://ipcop.svn.sourceforge.net/ipcop/?rev=5142&view=rev Author: gespinasse Date: 2010-11-18 18:45:52 +0000 (Thu, 18 Nov 2010) Log Message: ----------- Match to much on gnupg (not an error) so add another word to match Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2010-11-18 16:24:39 UTC (rev 5141) +++ ipcop/trunk/tools/error-parser 2010-11-18 18:45:52 UTC (rev 5142) @@ -68,8 +68,8 @@ # FAILED | UNEXPECTED PASS from autoconf lib/general.m4 # ^ERROR:|^FAIL:|^XPASS: from automake and derivated # ' program timed out' from gcc - # ' an error' from libxml2, try to compile (if that compile) --with-minimum to trigger error - $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out| an error"; + # 'generated an error' from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error + $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out| generated an error"; # Add " Error " match on a few package only # because XFAIL may generate Error like with sed # Those packages are the one with log needing more investigations This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2010-11-27 07:25:16
|
Revision: 5177 http://ipcop.svn.sourceforge.net/ipcop/?rev=5177&view=rev Author: gespinasse Date: 2010-11-27 07:25:10 +0000 (Sat, 27 Nov 2010) Log Message: ----------- Prepare for expat test suite Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2010-11-25 13:26:58 UTC (rev 5176) +++ ipcop/trunk/tools/error-parser 2010-11-27 07:25:10 UTC (rev 5177) @@ -74,7 +74,7 @@ # because XFAIL may generate Error like with sed # Those packages are the one with log needing more investigations # With Error, we will catch for sure the makefile error but may not print the specific message - if ( $f =~ m!bash|e2fsprogs|flex|gawk|glib[^c]|glibc|gnupg|libxml2|module-init-tools|openssh|openssl|pcre! ) { + if ( $f =~ m!bash|e2fsprogs|expat|flex|gawk|glib[^c]|glibc|gnupg|libxml2|module-init-tools|openssh|openssl|pcre! ) { $errorstring= "$errorstring| Error [0-9]\+\$"; } if ( $f =~ m!^tcl|^expect! ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2010-11-27 08:20:03
|
Revision: 5178 http://ipcop.svn.sourceforge.net/ipcop/?rev=5178&view=rev Author: gespinasse Date: 2010-11-27 08:19:57 +0000 (Sat, 27 Nov 2010) Log Message: ----------- Simplify the logic : do not add Error match only for sed Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2010-11-27 07:25:10 UTC (rev 5177) +++ ipcop/trunk/tools/error-parser 2010-11-27 08:19:57 UTC (rev 5178) @@ -70,13 +70,12 @@ # ' program timed out' from gcc # 'generated an error' from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out| generated an error"; - # Add " Error " match on a few package only - # because XFAIL may generate Error like with sed - # Those packages are the one with log needing more investigations - # With Error, we will catch for sure the makefile error but may not print the specific message - if ( $f =~ m!bash|e2fsprogs|expat|flex|gawk|glib[^c]|glibc|gnupg|libxml2|module-init-tools|openssh|openssl|pcre! ) { - $errorstring= "$errorstring| Error [0-9]\+\$"; - } + + # Add " Error " match for every package but sed + # sed produce 'make[4]: *** [utf8-x] Error 1' that result in XFAIL, so not a real error + # We will catch for sure the makefile error but may not print the specific message + if ( $f !~ m!sed! ) { $errorstring= "$errorstring| Error [0-9]\+\$"; } + if ( $f =~ m!^tcl|^expect! ) { # without ending space on FAILED, that would wrongly match on flex $errorstring= " .+ .+ FAILED"; # to not match twice on the same error This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ow...@us...> - 2011-01-07 11:12:43
|
Revision: 5308 http://ipcop.svn.sourceforge.net/ipcop/?rev=5308&view=rev Author: owes Date: 2011-01-07 11:12:37 +0000 (Fri, 07 Jan 2011) Log Message: ----------- Stop display at 50 errorlines, need to view the log anyway if you want to make sense out of hundreds or thousands test errors. Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2011-01-07 08:57:00 UTC (rev 5307) +++ ipcop/trunk/tools/error-parser 2011-01-07 11:12:37 UTC (rev 5308) @@ -87,7 +87,7 @@ if ( $line !~ m! Error \d* \(ignored\)! ) { if ($error==0) { print "\n"; } $error++; - print BOLD, BLUE, "$line", RESET; + print BOLD, BLUE, "$line", RESET if ($error < 50); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2011-04-30 16:25:29
|
Revision: 5653 http://ipcop.svn.sourceforge.net/ipcop/?rev=5653&view=rev Author: gespinasse Date: 2011-04-30 16:25:23 +0000 (Sat, 30 Apr 2011) Log Message: ----------- Adapt error-parser match for cairo Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2011-04-30 16:05:58 UTC (rev 5652) +++ ipcop/trunk/tools/error-parser 2011-04-30 16:25:23 UTC (rev 5653) @@ -69,7 +69,9 @@ # ^ERROR:|^FAIL:|^XPASS: from automake and derivated # ' program timed out' from gcc # 'generated an error' from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error + # ': FAIL |: FAIL" from cairo (separated with space in middle, with tab in end of line) $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out| generated an error"; + $errorstring= "${errorstring}|: FAIL |: FAIL"; # Add " Error " match for every package but sed # sed produce 'make[4]: *** [utf8-x] Error 1' that result in XFAIL, so not a real error This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2011-04-30 16:43:54
|
Revision: 5655 http://ipcop.svn.sourceforge.net/ipcop/?rev=5655&view=rev Author: gespinasse Date: 2011-04-30 16:43:48 +0000 (Sat, 30 Apr 2011) Log Message: ----------- Make the first errorstring line shorter Use more perlish style to concatenate a string Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2011-04-30 16:28:03 UTC (rev 5654) +++ ipcop/trunk/tools/error-parser 2011-04-30 16:43:48 UTC (rev 5655) @@ -70,8 +70,8 @@ # ' program timed out' from gcc # 'generated an error' from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error # ': FAIL |: FAIL" from cairo (separated with space in middle, with tab in end of line) - $errorstring= "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED | program timed out| generated an error"; - $errorstring= "${errorstring}|: FAIL |: FAIL"; + $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; + $errorstring .= "| program timed out| generated an error|: FAIL |: FAIL"; # Add " Error " match for every package but sed # sed produce 'make[4]: *** [utf8-x] Error 1' that result in XFAIL, so not a real error This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2011-11-09 18:50:03
|
Revision: 6047 http://ipcop.svn.sourceforge.net/ipcop/?rev=6047&view=rev Author: gespinasse Date: 2011-11-09 18:49:56 +0000 (Wed, 09 Nov 2011) Log Message: ----------- Change 'generated an error' to match only on libxml2 test suite Adding DBD-SQLite test suite show that same message but should be ok there Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2011-11-09 13:29:48 UTC (rev 6046) +++ ipcop/trunk/tools/error-parser 2011-11-09 18:49:56 UTC (rev 6047) @@ -68,11 +68,14 @@ # FAILED | UNEXPECTED PASS from autoconf lib/general.m4 # ^ERROR:|^FAIL:|^XPASS: from automake and derivated # ' program timed out' from gcc - # 'generated an error' from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error # ': FAIL |: FAIL" from cairo (separated with space in middle, with tab in end of line) $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; - $errorstring .= "| program timed out| generated an error|: FAIL |: FAIL"; + $errorstring .= "| program timed out|: FAIL |: FAIL"; + # 'generated an error' come from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error + # DBD-SQLite print twice that same message and should be still ok, so only match for libxml2 + if ( $f =~ m!libxml2! ) { $errorstring .= "| generated an error"; } + # Add " Error " match for every package but sed # sed produce 'make[4]: *** [utf8-x] Error 1' that result in XFAIL, so not a real error # We will catch for sure the makefile error but may not print the specific message This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2011-11-23 07:12:21
|
Revision: 6129 http://ipcop.svn.sourceforge.net/ipcop/?rev=6129&view=rev Author: gespinasse Date: 2011-11-23 07:12:15 +0000 (Wed, 23 Nov 2011) Log Message: ----------- Add a note why 'not ok' is not used on perl package, as that match broken tests with TODO. Add CRASH for cairo, that could happen even I haven't seen one, may vary "CRASHED", !!!CRASHED!!! or : CRASH! Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2011-11-23 06:50:53 UTC (rev 6128) +++ ipcop/trunk/tools/error-parser 2011-11-23 07:12:15 UTC (rev 6129) @@ -68,9 +68,10 @@ # FAILED | UNEXPECTED PASS from autoconf lib/general.m4 # ^ERROR:|^FAIL:|^XPASS: from automake and derivated # ' program timed out' from gcc - # ': FAIL |: FAIL" from cairo (separated with space in middle, with tab in end of line) + # ': FAIL |: FAIL|CRASH" from cairo (separated with space in middle, with tab in end of line) + # perl packages (not all) use '^not ok' to fail, but this is too often for broken tests with TODO, trying to match that give false alarm. $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; - $errorstring .= "| program timed out|: FAIL |: FAIL"; + $errorstring .= "| program timed out|: FAIL |: FAIL|CRASH"; # 'generated an error' come from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error # DBD-SQLite print twice that same message and should be still ok, so only match for libxml2 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2011-12-16 09:20:52
|
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. |
From: <ges...@us...> - 2012-04-08 09:29:56
|
Revision: 6533 http://ipcop.svn.sourceforge.net/ipcop/?rev=6533&view=rev Author: gespinasse Date: 2012-04-08 09:29:50 +0000 (Sun, 08 Apr 2012) Log Message: ----------- Report better glib test failure than the catch-all make ' Error ' Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2012-04-07 17:03:38 UTC (rev 6532) +++ ipcop/trunk/tools/error-parser 2012-04-08 09:29:50 UTC (rev 6533) @@ -85,6 +85,9 @@ $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; $errorstring .= "| program timed out|: FAIL |: FAIL|CRASH"; + # glib + if ( $f =~ m!glib[^c]! ) { $errorstring .= '| FAIL$'; } + # 'generated an error' come from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error # DBD-SQLite print twice that same message and should be still ok, so only match for libxml2 if ( $f =~ m!libxml2! ) { $errorstring .= "| generated an error"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2012-04-09 12:58:30
|
Revision: 6536 http://ipcop.svn.sourceforge.net/ipcop/?rev=6536&view=rev Author: gespinasse Date: 2012-04-09 12:58:24 +0000 (Mon, 09 Apr 2012) Log Message: ----------- Change glib to match on |FAIL$ instead of | FAIL$ as hacking the glib test suite badly, I produced sometime ^FAIL$ Use $Term::ANSIColor::AUTORESET = 1 so RESET if automaticly done after each line, once every comma is suppressed This require changing 'BOLD, BLUE,' to 'BOLD BLUE' Use $ENV{ANSI_COLORS_DISABLED} = 1 to disable color formatting when redirected to a file Reset color to default if interrupted by ctrl-c Add strict and warnings directives and fix a missing my before first $errorstring. Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2012-04-09 12:56:26 UTC (rev 6535) +++ ipcop/trunk/tools/error-parser 2012-04-09 12:58:24 UTC (rev 6536) @@ -1,8 +1,24 @@ #!/usr/bin/perl +use strict; +use warnings; + # for nice colors use Term::ANSIColor qw(:constants); +$Term::ANSIColor::AUTORESET = 1; +# if output is redirected to a file, suppress color formatting to be more readable +if (! -t STDOUT) { + $ENV{ANSI_COLORS_DISABLED} = 1; +} +# Restore default terminal color on Ctrl-C (when program is interrupted) +# That work but is not perfect as it look harder to stop error-parser when called from error-parser-all +sub INT_handler { + print RESET; + exit 0; +} +$SIG{'INT'} = 'INT_handler'; + my $f; my $package; # without the package version, so we could simply parse different directories in one liners my $testdir; @@ -49,7 +65,7 @@ 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 RESET "Reading $f"; + print "Reading $f"; if ( $f =~ m!^bc! ) { # There is always errors and we don't care if there is not too much @@ -63,7 +79,7 @@ if ( $error < 15 ) { print "\t $error errors considered ok\n"; } else { - print BOLD, BLUE, "\t $error errors considered too much\n", RESET; + print BOLD BLUE "\t $error errors considered too much\n"; } } elsif ( $f =~ m!^cairo-.*-summary-.*! ) { print "\n"; # Case with no error is not considered actually. @@ -71,22 +87,22 @@ 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! ); + 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"; + print " Approximately $error error(s) with $testdir/$f\n"; } else { # FAILED | UNEXPECTED PASS from autoconf lib/general.m4 # ^ERROR:|^FAIL:|^XPASS: from automake and derivated # ' program timed out' from gcc # ': FAIL |: FAIL|CRASH" from cairo (separated with space in middle, with tab in end of line) # perl packages (not all) use '^not ok' to fail, but this is too often for broken tests with TODO, trying to match that give false alarm. - $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; + my $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; $errorstring .= "| program timed out|: FAIL |: FAIL|CRASH"; # glib - if ( $f =~ m!glib[^c]! ) { $errorstring .= '| FAIL$'; } + if ( $f =~ m!glib[^c]! ) { $errorstring .= '|FAIL$'; } # 'generated an error' come from libxml2, try to compile (if that compile) --with-minimum --with-output to trigger error # DBD-SQLite print twice that same message and should be still ok, so only match for libxml2 @@ -108,7 +124,7 @@ if ( $line !~ m! Error \d* \(ignored\)! ) { if ($error==0) { print "\n"; } $error++; - print BOLD, BLUE, "$line", RESET if ($error < 50); + print BOLD BLUE "$line" if ($error < 50); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2012-08-15 21:52:35
|
Revision: 6762 http://ipcop.svn.sourceforge.net/ipcop/?rev=6762&view=rev Author: gespinasse Date: 2012-08-15 21:52:29 +0000 (Wed, 15 Aug 2012) Log Message: ----------- Add a specific match for flex, allowing to suppress the general make error match. This allow to report flex test suite errors like vanilia flex-2.5.37 produce with bison-2.6.2 Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2012-08-15 16:35:13 UTC (rev 6761) +++ ipcop/trunk/tools/error-parser 2012-08-15 21:52:29 UTC (rev 6762) @@ -101,6 +101,9 @@ my $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; $errorstring .= "| program timed out|: FAIL |: FAIL|CRASH"; + # flex + if ( $f =~ m!flex! ) { $errorstring .= '|^Test .* FAILED\.'; } + # glib if ( $f =~ m!glib[^c]! ) { $errorstring .= '|FAIL$'; } @@ -111,7 +114,7 @@ # Add " Error " match for every package but sed # sed produce 'make[4]: *** [utf8-x] Error 1' that result in XFAIL, so not a real error # We will catch for sure the makefile error but may not print the specific message - if ( $f !~ m!sed! ) { $errorstring= "$errorstring| Error [0-9]\+\$"; } + if ( $f !~ m!sed|flex! ) { $errorstring= "$errorstring| Error [0-9]\+\$"; } if ( $f =~ m!^tcl|^expect! ) { # without ending space on FAILED, that would wrongly match on flex This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ges...@us...> - 2012-11-18 09:02:58
|
Revision: 6848 http://ipcop.svn.sourceforge.net/ipcop/?rev=6848&view=rev Author: gespinasse Date: 2012-11-18 09:02:52 +0000 (Sun, 18 Nov 2012) Log Message: ----------- Remove the space before FAILED to support actual mdadm produced log. Futur mdadm version will support a more readable style (with FAILED in line with the script name) Modified Paths: -------------- ipcop/trunk/tools/error-parser Modified: ipcop/trunk/tools/error-parser =================================================================== --- ipcop/trunk/tools/error-parser 2012-11-17 18:49:03 UTC (rev 6847) +++ ipcop/trunk/tools/error-parser 2012-11-18 09:02:52 UTC (rev 6848) @@ -98,7 +98,7 @@ # ' program timed out' from gcc # ': FAIL |: FAIL|CRASH" from cairo (separated with space in middle, with tab in end of line) # perl packages (not all) use '^not ok' to fail, but this is too often for broken tests with TODO, trying to match that give false alarm. - my $errorstring = "^FAIL:|^ERROR:|^XPASS:| FAILED | UNEXPECTED PASS |^UNSUPPORTED "; + my $errorstring = "^FAIL:|^ERROR:|^XPASS:|FAILED | UNEXPECTED PASS |^UNSUPPORTED "; $errorstring .= "| program timed out|: FAIL |: FAIL|CRASH"; # flex This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |