From 3d720f9c03ac677216ca4bf851228888b0ff551e Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Fri, 10 Nov 2023 13:11:03 +0000 Subject: [PATCH] [K/N][test] Add static_everywhere caching as an alias to static To match the options in the new infrastructure, add the same option to the old one Merge-request: KT-MR-12949 Merged-by: Pavel Punegov --- .../src/main/kotlin/org/jetbrains/kotlin/CacheTesting.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/CacheTesting.kt b/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/CacheTesting.kt index 926c62ca9c2..15c6bddaa30 100644 --- a/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/CacheTesting.kt +++ b/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/CacheTesting.kt @@ -15,7 +15,7 @@ fun configureCacheTesting(project: Project): CacheTesting? { val cacheKindString = project.findProperty("test_with_cache_kind") as String? ?: return null val (cacheKind, makePerFileCache) = when (cacheKindString) { "dynamic" -> CompilerOutputKind.DYNAMIC_CACHE to false - "static" -> CompilerOutputKind.STATIC_CACHE to false + "static", "static_everywhere" -> CompilerOutputKind.STATIC_CACHE to false "static_per_file" -> CompilerOutputKind.STATIC_CACHE to true else -> error(cacheKindString) }