[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.11-61-ga2263b7
Thomas Sibley
trs at bestpractical.com
Tue Apr 16 19:03:44 EDT 2013
The branch, 4.0-trunk has been updated
via a2263b7b789455b92eab1791a06c58e8bc43df08 (commit)
from c9af1f4084675d9b2fe6cc76deb6278dfb2f18d3 (commit)
Summary of changes:
Makefile.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit a2263b7b789455b92eab1791a06c58e8bc43df08
Author: Dominic Hargreaves <dom at earth.li>
Date: Fri Apr 5 18:40:59 2013 +0100
Allow users to override the parallelism level in the test suite
Signed-off-by: Thomas Sibley <trs at bestpractical.com>
diff --git a/Makefile.in b/Makefile.in
index 9d3d4e9..05f15f9 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -225,6 +225,8 @@ DB_RT_PASS = @DB_RT_PASS@
TEST_FILES = t/*.t t/*/*.t
TEST_VERBOSE = 0
+RT_TEST_PARALLEL_NUM ?= 5
+
####################################################################
@@ -360,7 +362,7 @@ test:
parallel-test: test-parallel
test-parallel:
- RT_TEST_PARALLEL=1 $(PERL) "-MApp::Prove" -e 'my $$p = App::Prove->new(); $$p->process_args("-wlrj5","--state=slow,save", "t"); exit( $$p->run() ? 0 : 1 )'
+ RT_TEST_PARALLEL=1 $(PERL) "-MApp::Prove" -e 'my $$p = App::Prove->new(); $$p->process_args("-wlrj$(RT_TEST_PARALLEL_NUM)","--state=slow,save", "t"); exit( $$p->run() ? 0 : 1 )'
regression-reset-db: force-dropdb
$(PERL) -I$(LOCAL_LIB_PATH) -I$(RT_LIB_PATH) sbin/rt-setup-database --action init --dba-password ''
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list