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() } "test" { projectDefault() }
} }
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest(parallel = true) { projectTest(parallel = true) {
dependsOn(":dist") dependsOn(":dist")
workingDir = rootDir workingDir = rootDir
doFirst {
if (!kotlinBuildProperties.useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
} }
} }
+4 -1
View File
@@ -34,10 +34,13 @@ sourceSets {
"test" { projectDefault() } "test" { projectDefault() }
} }
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest(parallel = true) { projectTest(parallel = true) {
dependsOn(":dist") dependsOn(":dist")
workingDir = rootDir workingDir = rootDir
doFirst {
if (!kotlinBuildProperties.useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
} }
} }
+4 -1
View File
@@ -41,10 +41,13 @@ sourceSets {
"test" { projectDefault() } "test" { projectDefault() }
} }
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest { projectTest {
dependsOn(":dist") dependsOn(":dist")
workingDir = rootDir 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() } "test" { projectDefault() }
} }
if (kotlinBuildProperties.useFirIdeaPlugin) {
projectTest { projectTest {
dependsOn(":dist") dependsOn(":dist")
workingDir = rootDir workingDir = rootDir
doFirst {
if (!kotlinBuildProperties.useFirIdeaPlugin) {
error("Test task in the module should be executed with -Pidea.fir.plugin=true")
}
} }
} }