[Compiler tests] Remove -Dkotlin.ni flag from tests
This commit is contained in:
committed by
teamcity
parent
9beb279964
commit
0198eeeafe
@@ -202,7 +202,6 @@ fun Project.projectTest(
|
|||||||
environment("PROJECT_CLASSES_DIRS", project.testSourceSet.output.classesDirs.asPath)
|
environment("PROJECT_CLASSES_DIRS", project.testSourceSet.output.classesDirs.asPath)
|
||||||
environment("PROJECT_BUILD_DIR", project.buildDir)
|
environment("PROJECT_BUILD_DIR", project.buildDir)
|
||||||
systemProperty("jps.kotlin.home", project.rootProject.extra["distKotlinHomeDir"]!!)
|
systemProperty("jps.kotlin.home", project.rootProject.extra["distKotlinHomeDir"]!!)
|
||||||
systemProperty("kotlin.ni", if (project.rootProject.hasProperty("newInferenceTests")) "true" else "false")
|
|
||||||
systemProperty("org.jetbrains.kotlin.skip.muted.tests", if (project.rootProject.hasProperty("skipMutedTests")) "true" else "false")
|
systemProperty("org.jetbrains.kotlin.skip.muted.tests", if (project.rootProject.hasProperty("skipMutedTests")) "true" else "false")
|
||||||
systemProperty("cacheRedirectorEnabled", project.rootProject.findProperty("cacheRedirectorEnabled")?.toString() ?: "false")
|
systemProperty("cacheRedirectorEnabled", project.rootProject.findProperty("cacheRedirectorEnabled")?.toString() ?: "false")
|
||||||
project.kotlinBuildProperties.junit5NumberOfThreadsForParallelExecution?.let { n ->
|
project.kotlinBuildProperties.junit5NumberOfThreadsForParallelExecution?.let { n ->
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ fun JUnit.configureForKotlin(xmx: String = "1600m") {
|
|||||||
"-Didea.home.path=$ideaSdkPath",
|
"-Didea.home.path=$ideaSdkPath",
|
||||||
"-Didea.use.native.fs.for.win=false",
|
"-Didea.use.native.fs.for.win=false",
|
||||||
"-Djps.kotlin.home=${ideaPluginDir.absolutePath}",
|
"-Djps.kotlin.home=${ideaPluginDir.absolutePath}",
|
||||||
"-Dkotlin.ni=" + if (rootProject.hasProperty("newInferenceTests")) "true" else "false",
|
|
||||||
"-Duse.jps=true",
|
"-Duse.jps=true",
|
||||||
"-Djava.awt.headless=true"
|
"-Djava.awt.headless=true"
|
||||||
).filterNotNull().joinToString(" ")
|
).filterNotNull().joinToString(" ")
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ fun generateVmParametersForJpsConfiguration(path: String, additionalParameters:
|
|||||||
"-Didea.home.path=$ideaSdkPath",
|
"-Didea.home.path=$ideaSdkPath",
|
||||||
"-Didea.use.native.fs.for.win=false",
|
"-Didea.use.native.fs.for.win=false",
|
||||||
"-Djps.kotlin.home=${ideaPluginDir.absolutePath}",
|
"-Djps.kotlin.home=${ideaPluginDir.absolutePath}",
|
||||||
"-Dkotlin.ni=" + if (rootProject.hasProperty("newInferenceTests")) "true" else "false",
|
|
||||||
"-Duse.jps=true",
|
"-Duse.jps=true",
|
||||||
"-Djava.awt.headless=true"
|
"-Djava.awt.headless=true"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user