Remove in tests excessive logs
This commit is contained in:
-1
@@ -175,7 +175,6 @@ class SimpleKotlinGradleIT : KGPBaseTest() {
|
|||||||
project(
|
project(
|
||||||
projectName = "buildSrcUsingKotlinCompilationAndKotlinPlugin",
|
projectName = "buildSrcUsingKotlinCompilationAndKotlinPlugin",
|
||||||
gradleVersion,
|
gradleVersion,
|
||||||
forceOutput = true
|
|
||||||
) {
|
) {
|
||||||
listOf(
|
listOf(
|
||||||
"compileClasspath",
|
"compileClasspath",
|
||||||
|
|||||||
-2
@@ -63,8 +63,6 @@ fun BuildResult.assertTasksFromCache(vararg tasks: String) {
|
|||||||
tasks.forEach { task ->
|
tasks.forEach { task ->
|
||||||
assert(task(task)?.outcome == TaskOutcome.FROM_CACHE) {
|
assert(task(task)?.outcome == TaskOutcome.FROM_CACHE) {
|
||||||
printBuildOutput()
|
printBuildOutput()
|
||||||
val occurrences = output.lineSequence().filter { it.contains("> Task $task") }
|
|
||||||
System.err.println("ZZZ: task results ${occurrences.joinToString(separator = "\n")}")
|
|
||||||
"Task $task didn't have 'FROM-CACHE' state: ${task(task)?.outcome}"
|
"Task $task didn't have 'FROM-CACHE' state: ${task(task)?.outcome}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user