From fb2d8ef23a7a745addb2f077323bde7598e11f8d Mon Sep 17 00:00:00 2001 From: Vladislav Shishov Date: Thu, 14 Mar 2019 18:24:05 +0300 Subject: [PATCH] Revert "[gui-test] redirect idea output to file" This reverts commit 3dcd1ea3 --- .../com/intellij/testGuiFramework/framework/GuiTestPaths.kt | 4 ---- .../testGuiFramework/launcher/GuiTestLocalLauncher.kt | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestPaths.kt b/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestPaths.kt index e1b2ad238788..5a75439e2ec9 100644 --- a/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestPaths.kt +++ b/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestPaths.kt @@ -28,10 +28,6 @@ object GuiTestPaths { return@lazy dirPath } - val ideaOutputFile: File by lazy { - File(guiTestRootDirPath, "idea-output.log") - } - private val guiTestRootDirPath: File by lazy { if (!GuiTestOptions.guiTestRootDirPath.isNullOrEmpty()) { val rootDirPath = File(GuiTestOptions.guiTestRootDirPath) diff --git a/platform/testGuiFramework/src/com/intellij/testGuiFramework/launcher/GuiTestLocalLauncher.kt b/platform/testGuiFramework/src/com/intellij/testGuiFramework/launcher/GuiTestLocalLauncher.kt index 86992d482844..79598758d7a9 100644 --- a/platform/testGuiFramework/src/com/intellij/testGuiFramework/launcher/GuiTestLocalLauncher.kt +++ b/platform/testGuiFramework/src/com/intellij/testGuiFramework/launcher/GuiTestLocalLauncher.kt @@ -18,7 +18,6 @@ package com.intellij.testGuiFramework.launcher import com.intellij.openapi.application.PathManager import com.intellij.openapi.util.io.FileUtil import com.intellij.openapi.vfs.VfsUtilCore -import com.intellij.testGuiFramework.framework.GuiTestPaths import com.intellij.testGuiFramework.impl.GuiTestStarter import com.intellij.testGuiFramework.launcher.classpath.ClassPathBuilder.Companion.toClasspathJarFile import com.intellij.testGuiFramework.launcher.classpath.PathUtils @@ -83,7 +82,7 @@ object GuiTestLocalLauncher { testClassNames: List = emptyList(), additionalJvmOptions: List> = emptyList()) { val args = createArgs(ide = ide, port = port, testClassNames = testClassNames, additionalJvmOptions = additionalJvmOptions) - return startIde(ide = ide, ideaStartTest = ProcessBuilder().redirectOutput(GuiTestPaths.ideaOutputFile).command(args)) + return startIde(ide = ide, ideaStartTest = ProcessBuilder().inheritIO().command(args)) } fun runIdeWithDTraceLocally(ide: Ide = Ide(CommunityIde(), 0, 0),