diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle index 2170aa56f19..7c697525d94 100644 --- a/kotlin-native/backend.native/tests/build.gradle +++ b/kotlin-native/backend.native/tests/build.gradle @@ -3430,7 +3430,7 @@ standaloneTest("leakMemoryWithTestRunner") { standaloneTest("gcStats") { source = "runtime/memory/gcStats.kt" flags = ['-tr', "-Xbinary=gcSchedulerType=disabled"] - enabled = isExperimentalMM + enabled = isExperimentalMM && !isNoopGC && !isAggressiveGC } standaloneTest("stress_gc_allocations") {