[K/N][Tests] Migrate objcSmoke & objcTests tests
^KT-61259
This commit is contained in:
committed by
Space Team
parent
58f7dd1c83
commit
524f0d335e
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user