summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2014-09-02 12:24:58 -0700
committerTor Norbye <tnorbye@google.com>2014-09-08 19:33:20 +0000
commit118658926a59fe76b2d7c6b0a5cbdcb34b097a9f (patch)
tree8360f6cf86ae05a0cc192f1afaed57372eac5a8c /build.xml
parent88d9b7d863d313a6077f71215d90d75141fbcdc1 (diff)
downloadidea-118658926a59fe76b2d7c6b0a5cbdcb34b097a9f.tar.gz
Add script for running UI tests from the command line
Usage: $ cd tools/idea $ ant guiTests Test results are written to build/TEST-* Change-Id: I5e395e4348eb70ef65ae819277555ee95642bdfb (cherry picked from commit 7c48b9da9b078f4b7e1282cf906632af9909b7db)
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 3df0948be156..5a9fc1939f51 100644
--- a/build.xml
+++ b/build.xml
@@ -33,10 +33,9 @@
<attribute name="test.patterns" default="" />
<sequential>
<java failonerror="true" jar="${project.home}/lib/ant/lib/ant-launcher.jar" fork="true">
- <jvmarg line="-Xmx1424m -XX:MaxPermSize=352m"/>
+ <jvmarg line="-Xmx2048m -XX:MaxPermSize=512m"/>
<jvmarg value="-Dout=${out.dir}" />
<jvmarg value="-DbuildNumber=${buildId}" />
- <jvmarg line="-Xmx612m -XX:MaxPermSize=152m"/>
<sysproperty key="java.awt.headless" value="true"/>
<arg line="&quot;-Dgant.script=@{script}&quot;"/>
<arg line="&quot;-Dteamcity.build.tempDir=${tmp.dir}&quot;"/>
@@ -56,6 +55,10 @@
<call_gant script="${project.home}/build/scripts/tests.gant" test.patterns="org.jetbrains.android.*;com.android.tools.idea.*;com.google.gct.*"/>
</target>
+ <target name="guiTests" depends="init">
+ <call_gant script="${project.home}/build/scripts/gui_tests.gant"/>
+ </target>
+
<!-- The build task creates an updater.jar in ${out.dir}. This task bundles log4j & the updater into a single jar -->
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="${project.home}/build/lib/jarjar-1.0.jar"/>
<target name="fullupdater" depends="build">