[FIR JS] Create an LT diagnostics runner
This commit is contained in:
committed by
Space Team
parent
fa47950491
commit
8a4212f140
@@ -220,6 +220,15 @@ fun main(args: Array<String>) {
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractFirLightTreeJsDiagnosticTest>(suiteTestClassName = "FirLightTreeJsOldFrontendDiagnosticsTestGenerated") {
|
||||
model(
|
||||
relativeRootPath = "diagnostics/testsWithJsStdLib",
|
||||
pattern = "^([^_](.+))\\.kt$",
|
||||
excludedPattern = excludedFirTestdataPattern,
|
||||
targetBackend = TargetBackend.JS_IR
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractFirPsiJsDiagnosticWithBackendTest>(suiteTestClassName = "FirPsiJsOldFrontendDiagnosticsWithBackendTestGenerated") {
|
||||
model(
|
||||
relativeRootPath = "diagnostics/testsWithJsStdLibAndBackendCompilation",
|
||||
|
||||
@@ -101,5 +101,6 @@ abstract class AbstractFirJsDiagnosticWithBackendTestBase(parser: FirParser) : A
|
||||
}
|
||||
|
||||
abstract class AbstractFirPsiJsDiagnosticTest : AbstractFirJsDiagnosticTestBase(FirParser.Psi)
|
||||
abstract class AbstractFirLightTreeJsDiagnosticTest : AbstractFirJsDiagnosticTestBase(FirParser.LightTree)
|
||||
|
||||
abstract class AbstractFirPsiJsDiagnosticWithBackendTest : AbstractFirJsDiagnosticWithBackendTestBase(FirParser.Psi)
|
||||
|
||||
+1363
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user