From e00f9c25a1539cc7760c6c5fc1587af1abdccd49 Mon Sep 17 00:00:00 2001 From: Anton Lakotka Date: Fri, 22 Jul 2022 14:45:35 +0200 Subject: [PATCH] [Gradle] Update ConfigurationCacheIT test for native tasks Since GenerateProjectStructureMetadata supports Configuration Cache ^KT-43293 --- .../kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt index 7dc8fdc0050..c375ced092c 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt @@ -88,7 +88,6 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() { ) // These tasks currently don't support Configuration Cache and marked as [Task::notCompatibleWithConfigurationCache] val configCacheIncompatibleTaskTypes = listOf( - "GenerateProjectStructureMetadata", "CInteropMetadataDependencyTransformationTask", "TransformKotlinGranularMetadata" ) @@ -96,7 +95,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() { build("build", buildOptions = buildOptions) { // Reduce the problem numbers when a Task become compatible with GCC. // When all tasks support GCC, replace these assertions with `testConfigurationCacheOf` - assertOutputContains("17 problems were found storing the configuration cache, 6 of which seem unique.") + assertOutputContains("15 problems were found storing the configuration cache, 5 of which seem unique.") configCacheIncompatibleTaskTypes.forEach { taskType -> assertOutputContains( """Task `\S+` of type `[\w.]+$taskType`: .+(at execution time is unsupported)|(not supported with the configuration cache)"""