js.tests: change paths to kotlin-stdlib-js.klib
Change the expected klib name of stdlib KT-56106
This commit is contained in:
committed by
Space Team
parent
34720f27d4
commit
69a87efdd9
@@ -59,7 +59,7 @@ abstract class AbstractInvalidationTest(
|
||||
private val STDLIB_KLIB = File(System.getProperty("kotlin.js.stdlib.klib.path") ?: error("Please set stdlib path")).canonicalPath
|
||||
|
||||
private const val BOX_FUNCTION_NAME = "box"
|
||||
private const val STDLIB_MODULE_NAME = "kotlin-kotlin-stdlib-js-ir"
|
||||
private const val STDLIB_MODULE_NAME = "kotlin-kotlin-stdlib"
|
||||
|
||||
private val TEST_FILE_IGNORE_PATTERN = Regex("^.*\\..+\\.\\w\\w$")
|
||||
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ abstract class AbstractJsPartialLinkageTestCase(private val compilerType: Compil
|
||||
private inner class JsTestConfiguration(testPath: String) : PartialLinkageTestUtils.TestConfiguration {
|
||||
override val testDir: File = File(testPath).absoluteFile
|
||||
override val buildDir: File get() = this@AbstractJsPartialLinkageTestCase.buildDir
|
||||
override val stdlibFile: File get() = File("libraries/stdlib/js-ir/build/classes/kotlin/js/main").absoluteFile
|
||||
override val stdlibFile: File get() = File("libraries/stdlib/build/classes/kotlin/js/main").absoluteFile
|
||||
override val testModeConstructorParameters = mapOf("isJs" to "true")
|
||||
|
||||
override fun customizeModuleSources(moduleName: String, moduleSourceDir: File) {
|
||||
|
||||
Reference in New Issue
Block a user