further debugging blinking perforce tests
authorpeter <peter@jetbrains.com>
Fri, 13 Jan 2012 17:25:08 +0000 (18:25 +0100)
committerpeter <peter@jetbrains.com>
Fri, 13 Jan 2012 17:25:53 +0000 (18:25 +0100)
platform/testFramework/src/com/intellij/testFramework/AbstractVcsTestCase.java

index fb8cbe09e3780fe9de410003ae3323afafbc78dd..ed0af24c94322df8e6bbf015d280fab0a5352636 100644 (file)
@@ -27,6 +27,7 @@ import com.intellij.openapi.project.Project;
 import com.intellij.openapi.util.Ref;
 import com.intellij.openapi.util.SystemInfo;
 import com.intellij.openapi.util.io.FileUtil;
+import com.intellij.openapi.util.text.StringUtil;
 import com.intellij.openapi.vcs.AbstractVcs;
 import com.intellij.openapi.vcs.ProjectLevelVcsManager;
 import com.intellij.openapi.vcs.VcsConfiguration;
@@ -75,6 +76,9 @@ public abstract class AbstractVcsTestCase {
     Collections.addAll(arguments, commandLine);
     if (myTraceClient) {
       System.out.println("*** running:\n" + arguments);
+      if (StringUtil.isNotEmpty(stdin)) {
+        System.out.println("*** stdin:\n" + stdin);
+      }
     }
     final ProcessBuilder builder = new ProcessBuilder().command(arguments);
     if (workingDir != null) {