Author: [EMAIL PROTECTED]
Date: Tue Nov 11 07:11:09 2008
New Revision: 4014

Modified:
    releases/1.6/user/build.xml

Log:
Leverage -workDir to allow parallelized testing without clobbering.

Patch by: fabbott

Modified: releases/1.6/user/build.xml
==============================================================================
--- releases/1.6/user/build.xml (original)
+++ releases/1.6/user/build.xml Tue Nov 11 07:11:09 2008
@@ -78,7 +78,7 @@

    <target name="remoteweb-test" description="Run a remoteweb test at the  
given host and path" if="gwt.remote.browsers">
      <echo message="Performing remote browser testing at  
${gwt.remote.browsers}" />
-    <gwt.junit test.args="${test.args} -out www -remoteweb  
${gwt.remote.browsers}" test.out="${junit.out}/remoteweb"  
test.cases="default.web.tests" >
+    <gwt.junit test.args="${test.args} -out www -workDir  
${junit.out}/remoteweb/workdir -remoteweb ${gwt.remote.browsers}"  
test.out="${junit.out}/remoteweb" test.cases="default.web.tests" >
        <extraclasspaths>
          <pathelement location="${gwt.build}/out/dev/core/bin-test" />
        </extraclasspaths>
@@ -87,7 +87,7 @@

    <target name="selenium-test" description="Run a remote test using  
Selenium RC test at the given host and path" if="gwt.selenium.hosts">
      <echo message="Performing remote browser testing using Selenium RC at  
${gwt.selenium.hosts}" />
-    <gwt.junit test.args="${test.args} -out www -selenium  
${gwt.selenium.hosts}" test.out="${junit.out}/selenium"  
test.cases="default.web.tests" >
+    <gwt.junit test.args="${test.args} -out www -workDir  
${junit.out}/selenium/workdir -selenium ${gwt.selenium.hosts}"  
test.out="${junit.out}/selenium" test.cases="default.web.tests" >
        <extraclasspaths>
          <pathelement location="${gwt.build}/out/dev/core/bin-test" />
        </extraclasspaths>
@@ -95,7 +95,7 @@
    </target>

    <target name="test.hosted" depends="compile, compile.tests"  
description="Run only hosted-mode tests for this project.">
-    <gwt.junit test.args="${test.args}"  
test.out="${junit.out}/${build.host.platform}-hosted-mode"  
test.cases="default.hosted.tests" >
+    <gwt.junit test.args="${test.args} -workDir  
${junit.out}/${build.host.platform}-hosted-mode/workdir"  
test.out="${junit.out}/${build.host.platform}-hosted-mode"  
test.cases="default.hosted.tests" >
        <extraclasspaths>
          <pathelement location="${gwt.build}/out/dev/core/bin-test" />
        </extraclasspaths>
@@ -103,7 +103,7 @@
    </target>

    <target name="test.web" depends="compile, compile.tests"  
description="Run only web-mode tests for this project.">
-    <gwt.junit test.args="${test.args} -out www -web"  
test.out="${junit.out}/${build.host.platform}-web-mode"  
test.cases="default.web.tests" >
+    <gwt.junit test.args="${test.args} -out www -workDir  
${junit.out}/${build.host.platform}-web-mode/workdir -web"  
test.out="${junit.out}/${build.host.platform}-web-mode"  
test.cases="default.web.tests" >
        <extraclasspaths>
          <pathelement location="${gwt.build}/out/dev/core/bin-test" />
        </extraclasspaths>

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

Reply via email to