Fix failing tests on TC on Windows by falling back to standard launcher

...in one more case
Plus some minor test tweaks, diagnostics improvement and important comments
This commit is contained in:
Ilya Chernikov
2017-06-27 11:56:30 +02:00
parent e4ed217a3b
commit 06d27a9efa
3 changed files with 18 additions and 5 deletions
@@ -59,7 +59,7 @@ class SourceSectionsTest : TestCaseWithTmpdir() {
}
val compilerClassPath = listOf(kotlinPaths.compilerPath)
val scriptRuntimeClassPath = listOf( kotlinPaths.runtimePath, kotlinPaths.scriptRuntimePath)
val scriptRuntimeClassPath = listOf( kotlinPaths.stdlibPath, kotlinPaths.scriptRuntimePath)
val sourceSectionsPluginJar = File(kotlinPaths.libPath, "kotlin-source-sections-compiler-plugin.jar")
val compilerId by lazy(LazyThreadSafetyMode.NONE) { CompilerId.makeCompilerId(compilerClassPath) }
@@ -201,7 +201,7 @@ class SourceSectionsTest : TestCaseWithTmpdir() {
val daemonWithSession = KotlinCompilerClient.connectAndLease(compilerId, aliveFile, daemonJVMOptions, daemonOptions,
DaemonReportingTargets(messageCollector = messageCollector), autostart = true, leaseSession = true)
assertNotNull("failed to connect daemon", daemonWithSession)
assertNotNull("failed to connect daemon:\ncompiler id: $compilerId\ndaemon opts: $daemonOptions\njvm opts: $daemonJVMOptions\nalive file: $aliveFile\n", daemonWithSession)
try {