[Test] Move fir backend tests back to :compiler:fir2ir module

This commit is contained in:
Dmitriy Novozhilov
2021-01-28 12:50:25 +03:00
parent e79d02f482
commit 2ae35b0b08
8 changed files with 19 additions and 18 deletions
+2 -11
View File
@@ -63,18 +63,9 @@ fun setupGenerateAllTestsRunConfiguration() {
// Needed because of idea.ext plugin doesn't allow to set TEST_SEARCH_SCOPE = moduleWithDependencies
fun setupFirRunConfiguration() {
val tests = listOf(
"org\\.jetbrains\\.kotlin\\.test\\.runners\\.FirDiagnosticsWithLightTreeTestGenerated",
"org\\.jetbrains\\.kotlin\\.test\\.runners\\.FirDiagnosticTestGenerated",
"org\\.jetbrains\\.kotlin\\.test\\.runners\\.FirDiagnosticTestSpecGenerated",
"org\\.jetbrains\\.kotlin\\.test\\.runners\\.FirOldFrontendDiagnosticsTestGenerated",
"org\\.jetbrains\\.kotlin\\.test\\.runners\\.ir\\.Fir2IrTextTestGenerated",
"org\\.jetbrains\\.kotlin\\.test\\.runners\\.codegen\\.FirBlackBoxCodegenTestGenerated"
)
val junit = JUnit("_stub").apply { configureForKotlin("2048m") }
junit.moduleName = "kotlin.compiler.fir.analysis-tests.test"
junit.pattern = tests.joinToString(separator = "|", prefix = "^(", postfix = ")\$")
junit.moduleName = "kotlin.compiler.fir.fir2ir.test"
junit.pattern = """^.*\.Fir\w+TestGenerated$"""
junit.vmParameters = junit.vmParameters.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")
junit.workingDirectory = junit.workingDirectory.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")