Reminder about -Pidea.fir.plugin=true for running fir-idea tests

This commit is contained in:
Nikolay Krasko
2020-11-18 13:21:52 +03:00
committed by TeamCityServer
parent e5c62c3838
commit 1d51dffd76
4 changed files with 28 additions and 16 deletions
@@ -37,10 +37,13 @@ sourceSets {
"test" { projectDefault() }
}
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
doFirst {
if (!kotlinBuildProperties.useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
}
}
+7 -4
View File
@@ -34,10 +34,13 @@ sourceSets {
"test" { projectDefault() }
}
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
doFirst {
if (!kotlinBuildProperties.useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
}
}
+7 -4
View File
@@ -41,10 +41,13 @@ sourceSets {
"test" { projectDefault() }
}
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest {
dependsOn(":dist")
workingDir = rootDir
projectTest {
dependsOn(":dist")
workingDir = rootDir
doFirst {
if (!kotlinBuildProperties.useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
}
}
@@ -44,10 +44,13 @@ sourceSets {
"test" { projectDefault() }
}
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest {
dependsOn(":dist")
workingDir = rootDir
projectTest {
dependsOn(":dist")
workingDir = rootDir
doFirst {
if (!kotlinBuildProperties.useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
}
}