[K/N][Tests] Move some codegen tests to new infra: annotations..coroutines

^KT-61259
This commit is contained in:
Vladimir Sukharev
2023-12-12 13:30:53 +01:00
committed by Space Team
parent a1d13f54cb
commit a5f3d5b737
269 changed files with 2207 additions and 0 deletions
@@ -29,6 +29,27 @@ fun main() {
val k2BoxTestDir = listOf("multiplatform/k2")
generateTestGroupSuiteWithJUnit5 {
// Former konan local tests
testGroup("native/native.tests/tests-gen", "native/native.tests/testData") {
testClass<AbstractNativeCodegenBoxTest>(
suiteTestClassName = "NativeCodegenLocalTestGenerated",
annotations = listOf(
provider<UseExtTestCaseGroupProvider>(),
)
) {
model("codegen", targetBackend = TargetBackend.NATIVE)
}
testClass<AbstractNativeCodegenBoxTest>(
suiteTestClassName = "FirNativeCodegenLocalTestGenerated",
annotations = listOf(
*frontendFir(),
provider<UseExtTestCaseGroupProvider>()
)
) {
model("codegen", targetBackend = TargetBackend.NATIVE)
}
}
// Codegen box tests.
testGroup("native/native.tests/tests-gen", "compiler/testData") {
testClass<AbstractNativeCodegenBoxTest>(