提交 256bd8d5 编写于 作者: N Nikolay Krasko

202: Disable check for broken plugins in tests

Otherwise is is an exception in PluginManagerCore
because of brokenPlugins.txt file.
上级 143cad78
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册