Minor, remove useLegacyAbiGen test mode
Legacy jvm-abi-gen was removed in KT-55375.
This commit is contained in:
committed by
Space Team
parent
d4c8636c70
commit
5451477eb0
@@ -76,10 +76,9 @@ abstract class BaseJvmAbiTest : TestCase() {
|
||||
freeArgs = listOf(compilation.srcDir.canonicalPath)
|
||||
classpath = (abiDependencies + kotlinJvmStdlib).joinToString(File.pathSeparator) { it.canonicalPath }
|
||||
pluginClasspaths = arrayOf(abiPluginJar.canonicalPath)
|
||||
pluginOptions = listOfNotNull(
|
||||
pluginOptions = arrayOf(
|
||||
abiOption(JvmAbiCommandLineProcessor.OUTPUT_PATH_OPTION.optionName, compilation.abiDir.canonicalPath),
|
||||
if (useLegacyAbiGen) abiOption("useLegacyAbiGen", "true") else null
|
||||
).toTypedArray()
|
||||
)
|
||||
destination = compilation.destinationDir.canonicalPath
|
||||
noSourceDebugExtension = InTextDirectivesUtils.findStringWithPrefixes(directives, "// NO_SOURCE_DEBUG_EXTENSION") != null
|
||||
|
||||
@@ -119,9 +118,6 @@ abstract class BaseJvmAbiTest : TestCase() {
|
||||
}
|
||||
}
|
||||
|
||||
protected open val useLegacyAbiGen: Boolean
|
||||
get() = false
|
||||
|
||||
protected val kotlinJvmStdlib = File("dist/kotlinc/lib/kotlin-stdlib.jar").also {
|
||||
check(it.exists()) { "Stdlib file '$it' does not exist" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user