Speed up JS IR BE tests compiling the common parts (runtime + test common utils) once (on demand) and sharing the result between tests
It's a temporary hack until we implement IR based library format. It relies on the fact that currently, IR BE generates stable (enough) names.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ fun <T> assertArrayEquals(expected: Array<out T>, actual: Array<out T>, message:
|
||||
private fun <T> arraysEqual(first: Array<out T>, second: Array<out T>): Boolean {
|
||||
if (first === second) return true
|
||||
if (first.size != second.size) return false
|
||||
for (index in first.indices) {
|
||||
for (index in 0..first.size - 1) {
|
||||
if (!equal(first[index], second[index])) return false
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user