[K/N] Disable freezing tests, when caches are enabled

This commit is contained in:
Pavel Kunyavskiy
2022-06-13 11:04:28 +02:00
committed by Space
parent a07066f98b
commit 3233efdd04
+11 -10
View File
@@ -1100,7 +1100,7 @@ standaloneTest("worker_threadlocal_no_leak") {
}
standaloneTest("freeze0") {
enabled = (project.testTarget != 'wasm32') // No workers on WASM.
enabled = (project.testTarget != 'wasm32') && (cacheTesting == null) // No workers on WASM.
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
source = "runtime/workers/freeze0.kt"
@@ -1108,7 +1108,7 @@ standaloneTest("freeze0") {
}
standaloneTest("freeze1") {
enabled = (project.testTarget != 'wasm32') // No exceptions on WASM.
enabled = (project.testTarget != 'wasm32') && (cacheTesting == null) // No exceptions on WASM.
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
source = "runtime/workers/freeze1.kt"
@@ -1116,7 +1116,7 @@ standaloneTest("freeze1") {
}
standaloneTest("freeze_stress") {
enabled = (project.testTarget != 'wasm32') // No exceptions on WASM.
enabled = (project.testTarget != 'wasm32') && (cacheTesting == null) // No exceptions on WASM.
&& !isAggressiveGC // TODO: Investigate why too slow
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
@@ -1125,7 +1125,7 @@ standaloneTest("freeze_stress") {
}
standaloneTest("freeze2") {
enabled = (project.testTarget != 'wasm32') // No exceptions on WASM.
enabled = (project.testTarget != 'wasm32') && (cacheTesting == null) // No exceptions on WASM.
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
source = "runtime/workers/freeze2.kt"
@@ -1133,7 +1133,7 @@ standaloneTest("freeze2") {
}
standaloneTest("freeze3") {
enabled = (project.testTarget != 'wasm32') // No exceptions on WASM.
enabled = (project.testTarget != 'wasm32') && (cacheTesting == null) // No exceptions on WASM.
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
source = "runtime/workers/freeze3.kt"
@@ -1141,7 +1141,7 @@ standaloneTest("freeze3") {
}
standaloneTest("freeze4") {
enabled = (project.testTarget != 'wasm32') // No exceptions on WASM.
enabled = (project.testTarget != 'wasm32') && (cacheTesting == null) // No exceptions on WASM.
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
source = "runtime/workers/freeze4.kt"
@@ -1149,6 +1149,7 @@ standaloneTest("freeze4") {
}
standaloneTest("freeze5") {
enabled = cacheTesting == null
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
source = "runtime/workers/freeze5.kt"
@@ -1156,8 +1157,8 @@ standaloneTest("freeze5") {
}
standaloneTest("freeze6") {
enabled = (project.testTarget != 'wasm32') && // No exceptions on WASM.
!isNoopGC
enabled = (project.testTarget != 'wasm32') && (cacheTesting == null) // No exceptions on WASM.
&& !isNoopGC
useGoldenData = true
flags = ["-Xbinary=freezing=full", "-tr"]
source = "runtime/workers/freeze6.kt"
@@ -3432,7 +3433,7 @@ standaloneTest("mpp_optional_expectation") {
}
standaloneTest("freezing_control_basic_full") {
enabled = isExperimentalMM
enabled = isExperimentalMM && cacheTesting == null
source = "runtime/freezing_control/basic.kt"
flags = [
'-Xbinary=freezing=full',
@@ -3452,7 +3453,7 @@ standaloneTest("freezing_control_basic_disabled") {
}
standaloneTest("freezing_control_basic_explicitOnly") {
enabled = isExperimentalMM
enabled = isExperimentalMM && cacheTesting == null
source = "runtime/freezing_control/basic.kt"
flags = [
'-Xbinary=freezing=explicitOnly',