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.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to