202: Disable check for broken plugins in tests

Otherwise is is an exception in PluginManagerCore
because of brokenPlugins.txt file.
This commit is contained in:
Nikolay Krasko
2020-06-05 23:40:41 +03:00
parent 143cad78bf
commit 256bd8d594
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -107,6 +107,10 @@ fun Project.projectTest(
systemProperty("kotlin.ni", if (rootProject.hasProperty("newInferenceTests")) "true" else "false")
systemProperty("org.jetbrains.kotlin.skip.muted.tests", if (rootProject.hasProperty("skipMutedTests")) "true" else "false")
if (Platform[202].orHigher()) {
systemProperty("idea.ignore.disabled.plugins", "true")
}
var subProjectTempRoot: Path? = null
doFirst {
val teamcity = rootProject.findProperty("teamcity") as? Map<Any?, *>
+1
View File
@@ -27,6 +27,7 @@ fun JUnit.configureForKotlin(xmx: String = "1600m") {
"-Djna.nosys=true",
if (Platform[201].orHigher()) "-Didea.platform.prefix=Idea" else null,
"-Didea.is.unit.test=true",
if (Platform[202].orHigher()) "-Didea.ignore.disabled.plugins=true" else null,
"-Didea.home.path=$ideaSdkPath",
"-Djps.kotlin.home=${ideaPluginDir.absolutePath}",
"-Dkotlin.ni=" + if (rootProject.hasProperty("newInferenceTests")) "true" else "false",