[FIR-TEST] Add build tasks for running all fir tests
- `:firCompilerTest` run all compiler fir tests - `:idea:firTest` run all IDE fir tests - `:firAllTest` run all fir tests
This commit is contained in:
@@ -547,6 +547,17 @@ tasks {
|
|||||||
dependsOn(":compiler:fir:lightTree:test")
|
dependsOn(":compiler:fir:lightTree:test")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
register("firAllTest") {
|
||||||
|
dependsOn(
|
||||||
|
":compiler:fir:psi2fir:test",
|
||||||
|
":compiler:fir:lightTree:test",
|
||||||
|
":compiler:fir:resolve:test",
|
||||||
|
":compiler:fir:fir2ir:test",
|
||||||
|
":compiler:firBlackBox:test",
|
||||||
|
":idea:firTest"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
register("compilerFrontendVisualizerTest") {
|
register("compilerFrontendVisualizerTest") {
|
||||||
dependsOn("compiler:visualizer:test")
|
dependsOn("compiler:visualizer:test")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -118,3 +118,11 @@ projectTest(parallel = true) {
|
|||||||
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsKt")
|
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsKt")
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|
||||||
|
projectTest("firBlackBoxTest", parallel = true) {
|
||||||
|
dependsOn(":dist")
|
||||||
|
workingDir = rootDir
|
||||||
|
filter {
|
||||||
|
includeTestsMatching("org.jetbrains.kotlin.codegen.ir.FirBlackBoxCodegenTestGenerated")
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -183,6 +183,15 @@ projectTest(parallel = true) {
|
|||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
projectTest("firTest", parallel = true) {
|
||||||
|
dependsOn(":dist")
|
||||||
|
workingDir = rootDir
|
||||||
|
filter {
|
||||||
|
includeTestsMatching("org.jetbrains.kotlin.idea.fir.*")
|
||||||
|
includeTestsMatching("org.jetbrains.kotlin.idea.resolve.FirReferenceResolveTestGenerated")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
configureFormInstrumentation()
|
configureFormInstrumentation()
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
Reference in New Issue
Block a user