Changed the ant test timeout to a property so it can be overridden on slower computers... such as our test machines.
Patch by: jlabanca
Review by: fabbott
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5744 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/build.xml b/user/build.xml
index 2d38baf..6f4588b 100755
--- a/user/build.xml
+++ b/user/build.xml
@@ -6,6 +6,7 @@
<import file="${gwt.root}/common.ant.xml" />
<property name="gwt.junit.emmatestcase.includes" value="**/*Suite.class,com/google/gwt/dev/jjs/test/*Test.class"/>
+ <property name="test.timeout" value="3" />
<!--
Whether I18NSuite should test e.g. Foo$InnerMsgs_fr.properties (if the
@@ -190,7 +191,7 @@
Run hosted and web mode tests for the platform on which this build
is executing
-->
- <limit failonerror="true" hours="3">
+ <limit failonerror="true" hours="${test.timeout}">
<parallel threadsPerProcessor="${gwt.threadsPerProcessor}">
<!-- selenium-test is a no-op unless gwt.selenium.hosts is defined -->
<antcall target="test.selenium"/>