[JS, Tests] Migrate IR tests onto outputDir and outputName
This commit is contained in:
@@ -299,7 +299,7 @@ class GenerateIrRuntime {
|
||||
|
||||
val args = K2JSCompilerArguments().apply {
|
||||
libraries = ""
|
||||
outputFile = klibDirectory.path
|
||||
outputDir = klibDirectory.path
|
||||
sourceMap = false
|
||||
irProduceKlibDir = true
|
||||
irOnly = true
|
||||
|
||||
+4
-2
@@ -53,7 +53,8 @@ abstract class AbstractJsKlibBinaryCompatibilityTest : AbstractKlibBinaryCompati
|
||||
val args = K2JSCompilerArguments().apply {
|
||||
freeArgs = createFiles(module.versionFiles(version))
|
||||
libraries = module.dependenciesToLibrariesArg(version = version)
|
||||
outputFile = File(workingDir, "${module.name(version)}.$KLIB_FILE_EXTENSION").absolutePath
|
||||
outputDir = workingDir.normalize().absolutePath
|
||||
outputName = module.name(version)
|
||||
irProduceKlibFile = true
|
||||
irOnly = true
|
||||
irModuleName = module.name
|
||||
@@ -67,7 +68,8 @@ abstract class AbstractJsKlibBinaryCompatibilityTest : AbstractKlibBinaryCompati
|
||||
val args = K2JSCompilerArguments().apply {
|
||||
freeArgs = createFiles(module.files) + runnerFunctionFile()
|
||||
libraries = module.dependenciesToLibrariesArg(version = 2)
|
||||
outputFile = File(workingDir, module.name.js).absolutePath
|
||||
outputDir = workingDir.normalize().absolutePath
|
||||
outputName = module.name
|
||||
irProduceJs = true
|
||||
irOnly = true
|
||||
irModuleName = module.name
|
||||
|
||||
Reference in New Issue
Block a user