[Test] fix module name in klib text tests
It failed on windows machines due to illegal '<' in path
This commit is contained in:
committed by
teamcityserver
parent
56604a9654
commit
8ac5d03f02
@@ -185,8 +185,7 @@ abstract class AbstractKlibTextTestCase : CodegenTestCase() {
|
||||
irVersion = KlibIrVersion.INSTANCE.toString()
|
||||
)
|
||||
|
||||
val moduleName = irModuleFragment.name.asString()
|
||||
val klibDir = org.jetbrains.kotlin.konan.file.createTempDir(moduleName)
|
||||
val klibDir = org.jetbrains.kotlin.konan.file.createTempDir("testKlib")
|
||||
|
||||
buildKotlinLibrary(
|
||||
linkDependencies = listOf(stdlib),
|
||||
@@ -194,7 +193,7 @@ abstract class AbstractKlibTextTestCase : CodegenTestCase() {
|
||||
metadata = serializedMetadata,
|
||||
dataFlowGraph = null,
|
||||
manifestProperties = properties,
|
||||
moduleName = moduleName,
|
||||
moduleName = irModuleFragment.name.asString(),
|
||||
nopack = true,
|
||||
perFile = false,
|
||||
output = klibDir.canonicalPath,
|
||||
|
||||
Reference in New Issue
Block a user