[Test] Rename gcc* to configCache* variable to avoid ambiguity

^KT-51947
This commit is contained in:
Anton Lakotka
2022-05-18 07:47:43 +02:00
committed by Space
parent 1c65ef28f8
commit bd299ed12c
@@ -728,7 +728,7 @@ class HierarchicalMppIT : KGPBaseTest() {
assertTasksExecuted(":lib:publish") assertTasksExecuted(":lib:publish")
} }
val gccIncompatibleTasks = listOf( val configCacheIncompatibleTasks = listOf(
":generateProjectStructureMetadata", ":generateProjectStructureMetadata",
":transformCommonMainDependenciesMetadata", ":transformCommonMainDependenciesMetadata",
":cinteropFooLinuxX64", ":cinteropFooLinuxX64",
@@ -737,8 +737,8 @@ class HierarchicalMppIT : KGPBaseTest() {
) )
build("clean", "assemble", buildOptions = options) { build("clean", "assemble", buildOptions = options) {
assertTasksExecuted(gccIncompatibleTasks) assertTasksExecuted(configCacheIncompatibleTasks)
gccIncompatibleTasks.forEach { task -> configCacheIncompatibleTasks.forEach { task ->
assertOutputContains( assertOutputContains(
"""Task `:$task` of type `.+`: .+(at execution time is unsupported)|(not supported with the configuration cache)""" """Task `:$task` of type `.+`: .+(at execution time is unsupported)|(not supported with the configuration cache)"""
.toRegex() .toRegex()
@@ -748,7 +748,7 @@ class HierarchicalMppIT : KGPBaseTest() {
build("clean", "assemble", buildOptions = options) { build("clean", "assemble", buildOptions = options) {
assertOutputContains("Configuration cache entry discarded") assertOutputContains("Configuration cache entry discarded")
assertTasksExecuted(gccIncompatibleTasks) assertTasksExecuted(configCacheIncompatibleTasks)
} }
} }
} }