[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
@@ -73,10 +73,28 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
}
|
||||
}
|
||||
|
||||
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||
fun Test.configure(configureJUnit: JUnitPlatformOptions.() -> Unit = {}) {
|
||||
dependsOn(":dist")
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user