Build: Use fake ideaHome for tests with intellij build number only

#KTI-82
This commit is contained in:
Vyacheslav Gerasimov
2021-12-02 03:31:00 +03:00
committed by teamcity
parent 516e54a434
commit 944c7990a1
10 changed files with 32 additions and 14 deletions
@@ -11,7 +11,7 @@ import org.jetbrains.kotlin.ideaExt.*
val ideaPluginDir: File by extra
val ideaSandboxDir: File by extra
val ideaSdkPath: String
get() = IntellijRootUtils.getIntellijRootDir(rootProject).absolutePath
get() = rootProject.ideaHomePathForTests().absolutePath
fun MutableList<String>.addModularizedTestArgs(prefix: String, path: String, additionalParameters: Map<String, String>, benchFilter: String?) {
add("-${prefix}fir.bench.prefix=$path")