[K/N][Tests] Migrate kt48816 tests

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-01-17 19:18:38 +01:00
parent 447c0fb618
commit 647a907204
20 changed files with 155 additions and 41 deletions
@@ -1176,10 +1176,6 @@ if (PlatformInfo.isAppleTarget(project)) {
it.defFile 'interop/objc/kt42172/objclib.def'
it.headers "$projectDir/interop/objc/kt42172/objclib.h"
}
createInterop("objc_kt48816") {
it.defFile 'interop/objc/kt48816/objclib.def'
it.headers "$projectDir/interop/objc/kt48816/objclib.h"
}
createInterop("objc_kt55938") {
it.defFile 'interop/objc/kt55938/objclib.def'
it.headers "$projectDir/interop/objc/kt55938/objclib.h"
@@ -1648,21 +1644,6 @@ if (PlatformInfo.isAppleTarget(project)) {
UtilsKt.codesign(project, dylibFile.toString())
}
}
}
interopTest("interop_objc_kt48816_without_lazy_ir_for_caches") {
// Without a fix, fails in two-stage mode.
source = "interop/objc/kt48816/main.kt"
interop = "objc_kt48816"
// The bug was accidentally fixed with lazy IR for caches, so testing it with this feature disabled:
flags = ["-Xlazy-ir-for-caches=disable"]
}
interopTest("interop_objc_kt48816_with_lazy_ir_for_caches") {
source = "interop/objc/kt48816/main.kt"
interop = "objc_kt48816"
flags = ["-Xlazy-ir-for-caches=enable"]
}
interopTest("interop_objc_kt55938") {