Worrkaround issue with new function reference caused by KT-27362. See also KT-37435

This commit is contained in:
Pavel Punegov
2020-03-13 18:54:56 +03:00
committed by Pavel Punegov
parent 130a8dd6f2
commit c5576ad64e
@@ -165,10 +165,10 @@ open class FrameworkTest : DefaultTask(), KonanTestExecutable {
private fun runTest(executorService: ExecutorService, testExecutable: Path, args: List<String> = emptyList()) {
val (stdOut, stdErr, exitCode) = runProcess(
executor = executorService.add(Action {
executor = { executorService.add(Action {
it.environment = buildEnvironment()
it.workingDir = Paths.get(testOutput).toFile()
})::execute,
}).execute(it) },
executable = testExecutable.toString(),
args = args)