[K/N][Tests] Migrate objcSmoke & objcTests tests

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-01-24 18:04:17 +01:00
committed by Space Team
parent 58f7dd1c83
commit 524f0d335e
98 changed files with 227 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
@file:OptIn(kotlin.experimental.ExperimentalNativeApi::class)
import kotlin.system.exitProcess
import kotlinx.cinterop.autoreleasepool
import kotlin.native.internal.test.testLauncherEntryPoint
fun main(args: Array<String>) {
autoreleasepool {
val exitCode = testLauncherEntryPoint(args)
// Note: this test runner checks for memory leaks after successful execution, unlike standard one.
if (exitCode != 0) exitProcess(exitCode)
}
}