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.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to