Use workDir to fix bitcode-build-output that leaves a.out
This commit is contained in:
committed by
Pavel Punegov
parent
c7499e281d
commit
376d9eee20
@@ -162,7 +162,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 { it.environment = buildEnvironment() })::execute,
|
||||
executor = executorService.add(Action {
|
||||
it.environment = buildEnvironment()
|
||||
it.workingDir = Paths.get(testOutput).toFile()
|
||||
})::execute,
|
||||
executable = testExecutable.toString(),
|
||||
args = args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user