summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.xml3
-rw-r--r--build/scripts/gui_tests.gant2
2 files changed, 3 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 5a9fc1939f51..e651cf0e21a2 100644
--- a/build.xml
+++ b/build.xml
@@ -56,6 +56,9 @@
</target>
<target name="guiTests" depends="init">
+ <delete>
+ <fileset dir="${project.home}/build" includes="TEST-com.android.tools.idea.tests.gui.*"/>
+ </delete>
<call_gant script="${project.home}/build/scripts/gui_tests.gant"/>
</target>
diff --git a/build/scripts/gui_tests.gant b/build/scripts/gui_tests.gant
index a1713874cf76..00061c77ad2f 100644
--- a/build/scripts/gui_tests.gant
+++ b/build/scripts/gui_tests.gant
@@ -78,13 +78,11 @@ target('default' : "Run all UI tests") {
//setProperty("testcases", ["com.android.tools.idea.tests.gui.layout.LayoutPreviewTest","com.android.tools.idea.tests.gui.layout.LayoutEditorTest"])
setProperty("testcases", ["com.android.tools.idea.tests.gui.GuiTestSuite"])
-def isMac = System.getProperty("os.name").toLowerCase().startsWith("mac")
def args = [
"-Xmx2048m",
"-XX:MaxPermSize=1024m",
"-XX:ReservedCodeCacheSize=96m",
"-XX:+UseCodeCacheFlushing"
]
-if (isMac) args << "-d32";
setProperty("jvm_args", args)