mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
testing custom language: note on testing with Gradle
This commit is contained in:
parent
d46ab84e9a
commit
3b1af4e6a1
@ -23,6 +23,13 @@ All we need to do is point the run configuration's working directory to the root
|
|||||||
```
|
```
|
||||||
-ea -Xbootclasspath/p:../out/classes/production/boot -XX:+HeapDumpOnOutOfMemoryError -Xmx512m -XX:MaxPermSize=320m
|
-ea -Xbootclasspath/p:../out/classes/production/boot -XX:+HeapDumpOnOutOfMemoryError -Xmx512m -XX:MaxPermSize=320m
|
||||||
-Didea.system.path=../test-system -Didea.home.path=../ -Didea.config.path=../test-config -Didea.test.group=ALL_EXCLUDE_DEFINED
|
-Didea.system.path=../test-system -Didea.home.path=../ -Didea.config.path=../test-config -Didea.test.group=ALL_EXCLUDE_DEFINED
|
||||||
|
```
|
||||||
|
|
||||||
|
If you're using Gradle, system properties must be passed to forked JVM via `build.gradle`:
|
||||||
|
```
|
||||||
|
test {
|
||||||
|
systemProperty "idea.home.path", "/path/to/community/"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note**:
|
**Note**:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user