Remove old IC: remove experimental-ic-build.log

This commit moves each experimental-ic-build.log
into a corresponding build.log file.
This commit is contained in:
Alexey Tsvetkov
2017-05-03 13:58:40 +03:00
parent 2bd7d12312
commit 5af9d29cbe
178 changed files with 259 additions and 2633 deletions
@@ -19,14 +19,12 @@ package org.jetbrains.kotlin.incremental.testingUtils
import java.io.File
class BuildLogFinder(
private val isExperimentalEnabled: Boolean = false,
private val isDataContainerBuildLogEnabled: Boolean = false,
private val isGradleEnabled: Boolean = false
) {
companion object {
private const val GRADLE_LOG = "gradle-build.log"
private const val DATA_CONTAINER_LOG = "data-container-version-build.log"
private const val EXPERIMENTAL_LOG = "experimental-ic-build.log"
private const val SIMPLE_LOG = "build.log"
}
@@ -36,7 +34,6 @@ class BuildLogFinder(
val matchedName = when {
isGradleEnabled && GRADLE_LOG in files -> GRADLE_LOG
isDataContainerBuildLogEnabled && DATA_CONTAINER_LOG in files -> DATA_CONTAINER_LOG
isExperimentalEnabled && EXPERIMENTAL_LOG in files -> EXPERIMENTAL_LOG
SIMPLE_LOG in files -> SIMPLE_LOG
else -> null
}