[Native][tests] Dump the list of all available tests during compilation
^KT-50316
This commit is contained in:
@@ -386,6 +386,7 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
|
||||
putIfNotNull(RUNTIME_LOGS, arguments.runtimeLogs)
|
||||
putIfNotNull(BUNDLE_ID, parseBundleId(arguments, outputKind, configuration))
|
||||
put(MEANINGFUL_BRIDGE_NAMES, arguments.meaningfulBridgeNames)
|
||||
arguments.testDumpOutputPath?.let { put(TEST_DUMP_OUTPUT_PATH, it) }
|
||||
put(PARTIAL_LINKAGE, arguments.partialLinkage)
|
||||
}
|
||||
}
|
||||
|
||||
+7
@@ -361,6 +361,13 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
||||
@Argument(value = "-Xmeaningful-bridge-names", description = "(Unstable) Produce meaningful names for reverse bridges. Useful only for compiler tests.")
|
||||
var meaningfulBridgeNames: Boolean = false
|
||||
|
||||
@Argument(
|
||||
value = "-Xdump-tests-to",
|
||||
valueDescription = "<path>",
|
||||
description = "Path to a file to dump the list of all available tests"
|
||||
)
|
||||
var testDumpOutputPath: String? = null
|
||||
|
||||
@Argument(value = "-Xlazy-ir-for-caches", valueDescription = "{disable|enable}", description = "Use lazy IR for cached libraries")
|
||||
var lazyIrForCaches: String? = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user