[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()
|
irVersion = KlibIrVersion.INSTANCE.toString()
|
||||||
)
|
)
|
||||||
|
|
||||||
val moduleName = irModuleFragment.name.asString()
|
val klibDir = org.jetbrains.kotlin.konan.file.createTempDir("testKlib")
|
||||||
val klibDir = org.jetbrains.kotlin.konan.file.createTempDir(moduleName)
|
|
||||||
|
|
||||||
buildKotlinLibrary(
|
buildKotlinLibrary(
|
||||||
linkDependencies = listOf(stdlib),
|
linkDependencies = listOf(stdlib),
|
||||||
@@ -194,7 +193,7 @@ abstract class AbstractKlibTextTestCase : CodegenTestCase() {
|
|||||||
metadata = serializedMetadata,
|
metadata = serializedMetadata,
|
||||||
dataFlowGraph = null,
|
dataFlowGraph = null,
|
||||||
manifestProperties = properties,
|
manifestProperties = properties,
|
||||||
moduleName = moduleName,
|
moduleName = irModuleFragment.name.asString(),
|
||||||
nopack = true,
|
nopack = true,
|
||||||
perFile = false,
|
perFile = false,
|
||||||
output = klibDir.canonicalPath,
|
output = klibDir.canonicalPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user