diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle index 744084bf201..6dd07b704b3 100644 --- a/kotlin-native/backend.native/tests/build.gradle +++ b/kotlin-native/backend.native/tests/build.gradle @@ -2840,6 +2840,9 @@ standaloneTest("stress_gc_allocations") { } standaloneTest("array_out_of_memory") { + // This test allocs a large array that may make Linux + // kill any process inlcuding Gradle with OOM-killer + enabled = project.target.family != Family.LINUX source = "runtime/memory/array_out_of_memory.kt" flags = ['-tr'] switch(project.target.architecture) {