| import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome |
| |
| includeTargets << new File("${guessHome(this)}/build/scripts/common_tests.gant") |
| |
| setProperty("testcases", ["com.intellij.AllTests"]) |
| setProperty("cucumber_test_dirs", [["git4idea", "Idea", "$home/plugins/git4idea/test-features/git4idea", "git4idea"]]) |
| |
| def isMac = System.getProperty("os.name").toLowerCase().startsWith("mac") |
| def args = [ |
| "-Xmx1024m", |
| "-XX:MaxPermSize=630m", |
| "-XX:ReservedCodeCacheSize=96m" |
| ] |
| if (isMac) args << "-d32"; |
| |
| setProperty("jvm_args", args) |