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:
@@ -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?, *>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user