[Build] Exclude FIR codegen tests with PSI mode from aggregate test suite
Also add nightly configuration for them
This commit is contained in:
committed by
Space Team
parent
a7f62581a2
commit
9ee60e4648
+5
-1
@@ -682,7 +682,11 @@ tasks {
|
|||||||
dependsOn(":compiler:fir:raw-fir:light-tree2fir:test")
|
dependsOn(":compiler:fir:raw-fir:light-tree2fir:test")
|
||||||
dependsOn(":compiler:fir:analysis-tests:test")
|
dependsOn(":compiler:fir:analysis-tests:test")
|
||||||
dependsOn(":compiler:fir:analysis-tests:legacy-fir-tests:test")
|
dependsOn(":compiler:fir:analysis-tests:legacy-fir-tests:test")
|
||||||
dependsOn(":compiler:fir:fir2ir:test")
|
dependsOn(":compiler:fir:fir2ir:aggregateTests")
|
||||||
|
}
|
||||||
|
|
||||||
|
register("nightlyFirCompilerTest") {
|
||||||
|
dependsOn(":compiler:fir:fir2ir:nightlyTests")
|
||||||
}
|
}
|
||||||
|
|
||||||
register("compilerFrontendVisualizerTest") {
|
register("compilerFrontendVisualizerTest") {
|
||||||
|
|||||||
@@ -73,10 +73,28 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
fun Test.configure(configureJUnit: JUnitPlatformOptions.() -> Unit = {}) {
|
||||||
dependsOn(":dist")
|
dependsOn(":dist")
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
useJUnitPlatform()
|
useJUnitPlatform {
|
||||||
|
configureJUnit()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||||
|
configure()
|
||||||
|
}
|
||||||
|
|
||||||
|
projectTest("aggregateTests", jUnitMode = JUnitMode.JUnit5) {
|
||||||
|
configure {
|
||||||
|
excludeTags("FirPsiCodegenTest")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
projectTest("nightlyTests", jUnitMode = JUnitMode.JUnit5) {
|
||||||
|
configure {
|
||||||
|
includeTags("FirPsiCodegenTest")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|||||||
Reference in New Issue
Block a user