sxemacs-patches
[Top] [All Lists]

[MERGE-REQ] Summary for sxemacs--njsf--22.1.10--patch-2

From: Nelson Ferreira <njsf@xxxxxxxxxxx>
Subject: [MERGE-REQ] Summary for sxemacs--njsf--22.1.10--patch-2
Date: Sat, 07 Jun 2008 04:23:51 -0400
Sender: sxemacs-patches-bounces@xxxxxxxxxxx
Location: njsf@xxxxxxxxxxxxxxxxx 
http://sxemacs.homeip.net:4080/njsf-arch/sxemacs/2008

Revision: sxemacs--njsf--22.1.10--patch-2
Archive: njsf@xxxxxxxxxxxxxxxxx
Creator: Nelson Ferreira <njsf@xxxxxxxxxxx>
Date: Sat Jun  7 04:23:39 EDT 2008
Standard-date: 2008-06-07 08:23:39 GMT
Modified-files: contrib/do_builds.sh
    contrib/report-build-failure.sh
New-patches: njsf@xxxxxxxxxxxxxxxxx/sxemacs--njsf--22.1.10--patch-2
Summary: Contrib update
Keywords: minor,contrib

* contrib/do_builds.sh: Detect when make exited with non-zero because of unit 
test failure

* contrib/report-build-failure.sh: Allow reporting given status, not only 
"Failure"


* added files

    
{arch}/sxemacs/sxemacs--njsf/sxemacs--njsf--22.1.10/njsf@xxxxxxxxxxxxxxxxx/patch-log/patch-2

* modified files

--- orig/contrib/do_builds.sh
+++ mod/contrib/do_builds.sh
@@ -112,11 +112,16 @@
        if egrep '^make.*:.*Error' ,,beta.out; then
            STATUS="${STATUS}_ERROR_IN_BUILD"
        else
-           if [ -f ,,make-check.out -a ! "${STATUS}" = "Success" ]; then
-               STATUS="Tests fail"
-           fi    
+           if [ -f ,,make-check.out ]; then
+               if [ ! "${STATUS}" = "Success" ]; then
+                   STATUS="Tests fail"
+               elif [ -n "$(grep 'tests successful' ,,make-check.out | grep -v 
100%)" ]; then
+                   STATUS="Sucess(Some tests fail)"
+               fi
+           if 
        fi
     fi
+    DO_REPORT_FAILURE=""
     if [ "${REPORT_STATUS}" = "Yes" -o "${REPORT_STATUS}" = "Y" ]; then
        if [ "${STATUS}" = "Success" -o "${STATUS}" = "Tests fail" ]; then
            CLI=""


--- orig/contrib/report-build-failure.sh
+++ mod/contrib/report-build-failure.sh
@@ -154,7 +154,7 @@
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
-Failure while building $VERSION on $CONFGUESS ($MACHTYPE)
+$STATUS while building $VERSION on $CONFGUESS ($MACHTYPE)
 
 EOF
 MSRCDIR="${SRCDIR}"



<Prev in Thread] Current Thread [Next in Thread>