[FIR] Setup tests for IC with compiler plugins

Most of those tests are ignored, because IC is not supported properly
  for compiler plugins. This commit is needed to prepare infrastructure,
  fix current behaviour and collect main problems of IC with plugins

Check fail.txt files in new testdata for explanation of problems
This commit is contained in:
Dmitriy Novozhilov
2021-12-01 17:16:21 +03:00
committed by TeamCityServer
parent 8fcb525d75
commit 77101edfa4
32 changed files with 303 additions and 5 deletions
+1
View File
@@ -67,6 +67,7 @@ dependencies {
testApi(projectTests(":kotlinx-serialization-compiler-plugin"))
testApi(projectTests(":kotlinx-atomicfu-compiler-plugin"))
testApi(projectTests(":plugins:fir-plugin-prototype"))
testApi(projectTests(":plugins:fir-plugin-prototype:fir-plugin-ic-test"))
testApi(projectTests(":generators:test-generator"))
testCompileOnly(project(":kotlin-reflect-api"))
testImplementation(intellijDep()) { includeJars("idea_rt") }
@@ -347,6 +347,12 @@ fun main(args: Array<String>) {
}
}
*/
testGroup("plugins/fir-plugin-prototype/fir-plugin-ic-test/tests-gen", "plugins/fir-plugin-prototype/fir-plugin-ic-test/testData") {
testClass<AbstractIncrementalFirJvmWithPluginCompilerRunnerTest> {
model("pureKotlin", extension = null, recursive = false, targetBackend = TargetBackend.JVM_IR)
}
}
}
generateTestGroupSuiteWithJUnit5 {