[FIR-TEST] Change main module of [JPS] Fast FIR tests task

It's needed to correctly run FIR spec tests
This commit is contained in:
Dmitriy Novozhilov
2020-06-19 11:47:14 +03:00
parent a0cccdf75c
commit 7a8908a75b

View File

@@ -64,7 +64,7 @@ fun setupGenerateAllTestsRunConfiguration() {
fun setupFirRunConfiguration() {
val junit = JUnit("_stub").apply { configureForKotlin("2048m") }
junit.moduleName = "kotlin.compiler.test"
junit.moduleName = "kotlin.compiler.tests-spec.test"
junit.pattern = "^(org\\.jetbrains\\.kotlin\\.fir((?!\\.lightTree\\.benchmark)(\\.\\w+)*)\\.((?!(TreesCompareTest|TotalKotlinTest|RawFirBuilderTotalKotlinTestCase))\\w+)|org\\.jetbrains\\.kotlin\\.codegen\\.ir\\.FirBlackBoxCodegenTestGenerated|org\\.jetbrains\\.kotlin\\.spec\\.checkers\\.FirDiagnosticsTestSpecGenerated)\$"
junit.vmParameters = junit.vmParameters.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")
junit.workingDirectory = junit.workingDirectory.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")