Author: b...@google.com
Date: Thu Feb 19 15:38:40 2009
New Revision: 4799

Modified:
    trunk/common.ant.xml
    trunk/user/build.xml

Log:
Allow test parallelization to be set externally.

Patch by: bobv
Review by: spoon (desk)


Modified: trunk/common.ant.xml
==============================================================================
--- trunk/common.ant.xml        (original)
+++ trunk/common.ant.xml        Thu Feb 19 15:38:40 2009
@@ -37,6 +37,7 @@
    <property name="gwt.build.jni" location="${gwt.build}/jni" />
    <property name="gwt.build.staging" location="${gwt.build}/staging" />
    <property name="gwt.build.dist" location="${gwt.build}/dist" />
+  <property name="gwt.threadsPerProcessor" value="1" />
    <property name="project.build"  
location="${gwt.build.out}/${project.tail}" />
    <property name="project.lib"  
location="${gwt.build.lib}/gwt-${ant.project.name}.jar" />
    <property name="project.jni" location="${gwt.build}/${project.tail}" />

Modified: trunk/user/build.xml
==============================================================================
--- trunk/user/build.xml        (original)
+++ trunk/user/build.xml        Thu Feb 19 15:38:40 2009
@@ -157,7 +157,7 @@
        is executing
      -->
      <limit failonerror="true" hours="2">
-    <parallel threadsPerProcessor="1">
+    <parallel threadsPerProcessor="${gwt.threadsPerProcessor}">
        <!-- selenium-test is a no-op unless gwt.selenium.hosts is defined  
-->
        <antcall target="selenium-test"/>
        <!-- remoteweb-test is a no-op unless gwt.remote.browsers is defined  
-->


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to