js.tests: change paths to kotlin-stdlib-js.klib

Change the expected klib name of stdlib

KT-56106
This commit is contained in:
Ilya Gorbunov
2023-03-22 05:29:10 +01:00
committed by Space Team
parent 34720f27d4
commit 69a87efdd9
16 changed files with 31 additions and 24 deletions
+7
View File
@@ -626,6 +626,13 @@ tasks {
manifest.attributes(mapOf("Implementation-Title" to "kotlin-stdlib-js"))
}
val jsJarForTests by registering(Copy::class) {
from(jsJar)
rename { _ -> "full-runtime.klib" }
// some tests expect stdlib-js klib in this location
into(rootProject.buildDir.resolve("js-ir-runtime"))
}
val jsV1Jar by existing(Jar::class) {
val jsResultingJarFile = jsResultingJar.get().archiveFile
inputs.file(jsResultingJarFile)