Add cache comparator for incremental gradle tests
Add logic that rebuilds all sources after the last incremental round of each Gradle IC test and compares caches. The same was already implemented for JPS, but not for Gradle. After all rounds of incremental compilation are completed, another clean build from scratch is produced. All caches after the rebuild are compared with the caches of the last round of incremental compilation. This check is necessary because incremental compilation artifacts should depend on the state of the project, source files, and configuration, and not the chain of changes and incremental builds that led to this state. After the launch, there were several tests that did not satisfy the above conditions, and were muted (KT-56681, KT-55195, KT-56242, KT-56698) #KT-54991 In Progress
This commit is contained in:
committed by
Space Team
parent
ae8428e8d0
commit
2e453051f9
@@ -54,7 +54,7 @@ abstract class BasicMap<K : Comparable<K>, V, StorageType : LazyStorage<K, V>>(
|
||||
fun dump(): String {
|
||||
return with(StringBuilder()) {
|
||||
with(Printer(this)) {
|
||||
println(this@BasicMap::class.java.simpleName)
|
||||
println("${storageFile.name.substringBefore(".tab")} (${this@BasicMap::class.java.simpleName})")
|
||||
pushIndent()
|
||||
|
||||
for (key in storage.keys.sorted()) {
|
||||
|
||||
Reference in New Issue
Block a user