autobuild-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Autobuild-discuss] small patch for automake test regex


From: Brian Gough
Subject: [Autobuild-discuss] small patch for automake test regex
Date: Wed, 01 Sep 2010 07:27:43 +0100
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

Hi, the patch below handles the case '1 of 1 test failed' which is
currently missed.

As of last night's run on the GCC compile farm there are now 241
packages on http://autobuild.josefsson.org/.

diff --git a/autobuild b/autobuild                                              
                              
index 7e71b4e..a60f38a 100755                                                   
                              
--- a/autobuild                                                                 
                              
+++ b/autobuild                                                                 
                              
@@ -174,7 +174,7 @@ foreach $arg (@ARGV) {
            # Automake self test or distcheck output.                           
                              
            $status = "ok" if !$status && m,All \d+ tests passed,;              
                              
            $status = "ok" if !$status && m,1 test passed,;                     
                              
-           $status = "almost" if m,\d+ of \d+ tests failed,;                   
                              
+           $status = "almost" if m,\d+ of \d+ tests? failed,;                  
                              
                                                                                
                              
            # libcheck self tests.                                              
                              
            $status = "almost" if !$status && m,Errors: [1-9]+,;                
                              




reply via email to

[Prev in Thread] Current Thread [Next in Thread]