[Rt-commit] r15247 - rt/3.8/branches/parallel-testing

ruz at bestpractical.com ruz at bestpractical.com
Tue Aug 19 17:27:24 EDT 2008


Author: ruz
Date: Tue Aug 19 17:27:22 2008
New Revision: 15247

Modified:
   rt/3.8/branches/parallel-testing/Makefile.in

Log:
* add prallel-test and test-parallel targets to makefile

Modified: rt/3.8/branches/parallel-testing/Makefile.in
==============================================================================
--- rt/3.8/branches/parallel-testing/Makefile.in	(original)
+++ rt/3.8/branches/parallel-testing/Makefile.in	Tue Aug 19 17:27:22 2008
@@ -374,6 +374,11 @@
 test: 
 	$(PERL) "-MExtUtils::Command::MM" -e "test_harness($(TEST_VERBOSE), 'lib')" $(TEST_FILES)
 
+parallel-test: test-parallel
+
+test-parallel: 
+	RT_TEST_PARALLEL=1 HARNESS_OPTIONS="j4" $(PERL) "-MExtUtils::Command::MM" -e "test_harness($(TEST_VERBOSE), 'lib')" $(TEST_FILES)
+
 regression-install: config-install
 	$(PERL) -pi -e 's/Set\(\$$DatabaseName.*\);/Set\(\$$DatabaseName, "rt3regression"\);/' $(DESTDIR)$(CONFIG_FILE)
 


More information about the Rt-commit mailing list