mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
32-bit tests on Mac
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
import static org.jetbrains.jps.idea.IdeaProjectLoader.*
|
||||
import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome
|
||||
|
||||
includeTargets << new File("${guessHome(this)}/build/scripts/common_tests.gant")
|
||||
|
||||
setProperty("testcases", ["com.intellij.AllTests"])
|
||||
|
||||
setProperty("jvm_args", [
|
||||
"-Xmx350m",
|
||||
"-XX:MaxPermSize=320m",
|
||||
])
|
||||
def isMac = System.getProperty("os.name").toLowerCase().startsWith("mac")
|
||||
def args = [
|
||||
"-Xmx350m",
|
||||
"-XX:MaxPermSize=320m",
|
||||
]
|
||||
if (isMac) args << "-d32";
|
||||
|
||||
setProperty("jvm_args", args)
|
||||
|
||||
Reference in New Issue
Block a user