Turn on the batching of test cases.
Patch by: amitmanjhi
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5773 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/common.ant.xml b/common.ant.xml
index e6ccd23..0548bd9 100755
--- a/common.ant.xml
+++ b/common.ant.xml
@@ -160,7 +160,7 @@
<macrodef name="gwt.junit">
<!-- TODO: make this more generic / refactor so it can be used from dev/core -->
- <attribute name="test.args" default="-batch module" />
+ <attribute name="test.args" default="" />
<attribute name="test.out" default="" />
<attribute name="test.reports" default="@{test.out}/reports" />
<attribute name="test.cases" default="" />
@@ -182,7 +182,7 @@
failureproperty="junit.failure" tempdir="@{test.out}" >
<jvmarg line="${junit.platform.args}" />
<jvmarg line="-Xmx768m" />
- <sysproperty key="gwt.args" value="${junit.notheadless.arg} @{test.args}" />
+ <sysproperty key="gwt.args" value="${junit.notheadless.arg} @{test.args} -batch module" />
<sysproperty key="java.awt.headless" value="${junit.headless}" />
<sysproperty key="gwt.devjar" value="${gwt.dev.staging.jar}" />
<classpath>