Remove in tests excessive logs
This commit is contained in:
-1
@@ -175,7 +175,6 @@ class SimpleKotlinGradleIT : KGPBaseTest() {
|
||||
project(
|
||||
projectName = "buildSrcUsingKotlinCompilationAndKotlinPlugin",
|
||||
gradleVersion,
|
||||
forceOutput = true
|
||||
) {
|
||||
listOf(
|
||||
"compileClasspath",
|
||||
|
||||
-2
@@ -63,8 +63,6 @@ fun BuildResult.assertTasksFromCache(vararg tasks: String) {
|
||||
tasks.forEach { task ->
|
||||
assert(task(task)?.outcome == TaskOutcome.FROM_CACHE) {
|
||||
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}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user