[Test] Rename gcc* to configCache* variable to avoid ambiguity
^KT-51947
This commit is contained in:
+4
-4
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user