[FIR] Add FirOldFrontendDiagnosticsWithLightTreeTestGenerated
This commit is contained in:
committed by
TeamCityServer
parent
e4870740e1
commit
3e0eb06e3e
+35786
File diff suppressed because it is too large
Load Diff
+4
-1
@@ -56,6 +56,10 @@ abstract class AbstractFirDiagnosticTest : AbstractKotlinCompilerTest() {
|
||||
|
||||
useMetaInfoProcessors(::PsiLightTreeMetaInfoProcessor)
|
||||
|
||||
defaultDirectives {
|
||||
+COMPARE_WITH_LIGHT_TREE
|
||||
}
|
||||
|
||||
forTestsMatching("compiler/testData/diagnostics/*") {
|
||||
useAfterAnalysisCheckers(
|
||||
::FirIdenticalChecker,
|
||||
@@ -67,7 +71,6 @@ abstract class AbstractFirDiagnosticTest : AbstractKotlinCompilerTest() {
|
||||
forTestsMatching("compiler/fir/analysis-tests/testData/*") {
|
||||
defaultDirectives {
|
||||
+FIR_DUMP
|
||||
+COMPARE_WITH_LIGHT_TREE
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+8
@@ -122,6 +122,14 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
|
||||
model("diagnostics/tests", excludedPattern = excludedFirTestdataPattern)
|
||||
model("diagnostics/testsWithStdLib", excludedPattern = excludedFirTestdataPattern)
|
||||
}
|
||||
|
||||
testClass<AbstractFirDiagnosticsWithLightTreeTest>(
|
||||
suiteTestClassName = "FirOldFrontendDiagnosticsWithLightTreeTestGenerated",
|
||||
annotations = listOf(annotation(Execution::class.java, ExecutionMode.SAME_THREAD))
|
||||
) {
|
||||
model("diagnostics/tests", excludedPattern = excludedFirTestdataPattern)
|
||||
model("diagnostics/testsWithStdLib", excludedPattern = excludedFirTestdataPattern)
|
||||
}
|
||||
}
|
||||
|
||||
testGroup(testsRoot = "compiler/fir/fir2ir/tests-gen", testDataRoot = "compiler/testData") {
|
||||
|
||||
Reference in New Issue
Block a user