FIR: use FIR_IDENTICAL instead of FIR_IGNORE for diags with BE tests

This commit is contained in:
Mikhail Glukhikh
2022-10-17 10:52:45 +02:00
committed by Space Team
parent d00af1c932
commit 69c883ecee
116 changed files with 383 additions and 80 deletions
@@ -38,11 +38,20 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
}
testClass<AbstractDiagnosticsTestWithOldJvmBackend> {
model("diagnostics/testsWithJvmBackend", targetBackend = TargetBackend.JVM_OLD)
model(
"diagnostics/testsWithJvmBackend",
targetBackend = TargetBackend.JVM_OLD,
excludedPattern = excludedFirTestdataPattern
)
}
testClass<AbstractDiagnosticsTestWithJvmIrBackend> {
model("diagnostics/testsWithJvmBackend", pattern = "^(.+)\\.kts?$", targetBackend = TargetBackend.JVM_IR)
model(
"diagnostics/testsWithJvmBackend",
pattern = "^(.+)\\.kts?$",
targetBackend = TargetBackend.JVM_IR,
excludedPattern = excludedFirTestdataPattern
)
}
testClass<AbstractDiagnosticsNativeTest> {
@@ -265,7 +274,7 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
}
testClass<AbstractFirDiagnosticsTestWithJvmIrBackend>(suiteTestClassName = "FirOldDiagnosticsTestWithJvmIrBackendGenerated") {
model("diagnostics/testsWithJvmBackend")
model("diagnostics/testsWithJvmBackend", excludedPattern = excludedFirTestdataPattern)
}
testClass<AbstractFirSerializeCompileKotlinAgainstInlineKotlinTest> {