Update of /var/cvs/speeltuin/nightly
In directory james.mmbase.org:/home/nightly/bin

Modified Files:
        build.sh 
Log Message:
make test-case failure mail appear all in one thread


See also: http://cvs.mmbase.org/viewcvs/speeltuin/nightly


Index: build.sh
===================================================================
RCS file: /var/cvs/speeltuin/nightly/build.sh,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- build.sh    5 Sep 2008 08:30:08 -0000       1.22
+++ build.sh    9 Sep 2008 07:26:59 -0000       1.23
@@ -109,11 +109,14 @@
     echo Test results | tee -a ${builddir}/messages.log
 
     if [ -f latest/tests-results.log ] ; then
+       # Using one thread for all test-case failures
+       parent="<[EMAIL PROTECTED]>";
+
        if (( `cat latest/tests-results.log  | grep 'FAILURES' | wc -l` > 0 )) 
; then
            echo Failures, sending mail to ${MAILADDRESS}  | tee -a 
${builddir}/messages.log
            (echo "Failures on build ${version}" ; echo "See also 
http://www.mmbase.org/download/builds/latest/tests-results.log"; ; \
                 cat latest/tests-results.log  | grep -P  '(^Tests 
run:|^[0-9]+\)|^\tat org\.mmbase|FAILURES|========================|OK)' ) | \
-               mutt -s "Test cases failures" ${MAILADDRESS}
+               mutt -e "my_hdr In-Reply-To: $parent" -s "Test cases failures" 
${MAILADDRESS}
        fi
     fi
 fi
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to