[FIR JS] Create an LT diagnostics with BE runner

This commit is contained in:
Nikolay Lunyak
2024-01-09 12:31:29 +02:00
committed by Space Team
parent ac8b39cbde
commit cf4c55e02d
3 changed files with 257 additions and 0 deletions
@@ -238,6 +238,15 @@ fun main(args: Array<String>) {
)
}
testClass<AbstractFirLightTreeJsDiagnosticWithBackendTest>(suiteTestClassName = "FirLightTreeJsOldFrontendDiagnosticsWithBackendTestGenerated") {
model(
relativeRootPath = "diagnostics/testsWithJsStdLibAndBackendCompilation",
pattern = "^([^_](.+))\\.kt$",
excludedPattern = excludedFirTestdataPattern,
targetBackend = TargetBackend.JS_IR
)
}
testClass<AbstractDiagnosticsTestWithJsStdLib>(suiteTestClassName = "DiagnosticsWithJsStdLibTestGenerated") {
model(
relativeRootPath = "diagnostics/testsWithJsStdLib",
@@ -104,3 +104,4 @@ abstract class AbstractFirPsiJsDiagnosticTest : AbstractFirJsDiagnosticTestBase(
abstract class AbstractFirLightTreeJsDiagnosticTest : AbstractFirJsDiagnosticTestBase(FirParser.LightTree)
abstract class AbstractFirPsiJsDiagnosticWithBackendTest : AbstractFirJsDiagnosticWithBackendTestBase(FirParser.Psi)
abstract class AbstractFirLightTreeJsDiagnosticWithBackendTest : AbstractFirJsDiagnosticWithBackendTestBase(FirParser.LightTree)