diff options
author | Tor Norbye <tnorbye@google.com> | 2014-09-10 11:27:03 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2014-09-10 19:33:08 +0000 |
commit | ece4144fe1eed5853d3644d9afd5e49309090ea2 (patch) | |
tree | 1e0869f654e0880da5a81f1d28104b0f562f8793 /build | |
parent | 2db599b0bdf17442d810b027f1dc4c0ee55b924a (diff) | |
download | idea-ece4144fe1eed5853d3644d9afd5e49309090ea2.tar.gz |
Fix command line GUI test script on the Mac
Remove the -d32 flag from the VM arguments; on some systems
this triggers this error message:
[java] ------ check
[java] [junit] Error occurred during initialization of VM
[java] [junit] Could not create the Java virtual machine.
[java] [junit] Could not reserve enough space for object heap
Also clean out old results files when starting a new test run.
Change-Id: I120db8deae3336d1d44383d93bd1d7b883e0b024
(cherry picked from commit ac6cebca147da897cce0c74d4aac2f54254b61ed)
Diffstat (limited to 'build')
-rw-r--r-- | build/scripts/gui_tests.gant | 2 |
1 files changed, 0 insertions, 2 deletions
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) |