You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/11/14 01:06:22 UTC
svn commit: r594725 - /spamassassin/trunk/masses/rule-qa/nightly-slave-start
Author: jm
Date: Tue Nov 13 16:06:18 2007
New Revision: 594725
URL: http://svn.apache.org/viewvc?rev=594725&view=rev
Log:
add ability to pass "-jN" switch to slaves, to take advantage of heavyweight slaves that can perform lots of jobs
Modified:
spamassassin/trunk/masses/rule-qa/nightly-slave-start
Modified: spamassassin/trunk/masses/rule-qa/nightly-slave-start
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/nightly-slave-start?rev=594725&r1=594724&r2=594725&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/nightly-slave-start (original)
+++ spamassassin/trunk/masses/rule-qa/nightly-slave-start Tue Nov 13 16:06:18 2007
@@ -5,6 +5,9 @@
host="$1"
+host=`echo "$1" | perl -ne 's/-j(\d+)$//;print'`
+opts=`echo "$1" | perl -ne 's/-j(\d+)$// and print "-j $1"'`
+
# use $PERL from env if unset
[ "x${PERL:-}" = x ] && PERL=perl
set -x
@@ -47,5 +50,6 @@
. /etc/profile \; \
TZ=UTC perl mass-check \
--cs_ssl --cs_verbose --cs_schedule_cache --cs_cachedir=../../cs_cache \
+ $opts \
--client $serverhost &