[gnome-builder] tests: remove disposition flags for runner



commit a602f130810a60197d462a46ae25a273b80999c9
Author: Christian Hergert <chergert redhat com>
Date:   Wed Feb 20 16:52:04 2019 -0800

    tests: remove disposition flags for runner
    
    We don't need these once a PTY is wired up.

 src/plugins/gradle/gradle_plugin.py         | 2 --
 src/plugins/maven/maven_plugin.py           | 2 --
 src/plugins/meson/gbp-meson-test-provider.c | 4 ----
 3 files changed, 8 deletions(-)
---
diff --git a/src/plugins/gradle/gradle_plugin.py b/src/plugins/gradle/gradle_plugin.py
index 61f48afea..329bc9861 100755
--- a/src/plugins/gradle/gradle_plugin.py
+++ b/src/plugins/gradle/gradle_plugin.py
@@ -174,8 +174,6 @@ class GradleIdeTestProvider(Ide.TestProvider):
             if not runner:
                task.return_error(Ide.NotSupportedError())
 
-            runner.set_flags(Gio.SubprocessFlags.STDOUT_PIPE | Gio.SubprocessFlags.STDERR_PIPE)
-
             if pty is not None:
                 runner.set_pty(pty)
 
diff --git a/src/plugins/maven/maven_plugin.py b/src/plugins/maven/maven_plugin.py
index 0030e73f1..bd006e6e3 100755
--- a/src/plugins/maven/maven_plugin.py
+++ b/src/plugins/maven/maven_plugin.py
@@ -177,8 +177,6 @@ class MavenIdeTestProvider(Ide.TestProvider):
             if not runner:
                task.return_error(Ide.NotSupportedError())
 
-            runner.set_flags(Gio.SubprocessFlags.STDOUT_PIPE | Gio.SubprocessFlags.STDERR_PIPE)
-
             if pty is not None:
                 runner.set_pty(pty)
 
diff --git a/src/plugins/meson/gbp-meson-test-provider.c b/src/plugins/meson/gbp-meson-test-provider.c
index 17066e32a..a742950ce 100644
--- a/src/plugins/meson/gbp-meson-test-provider.c
+++ b/src/plugins/meson/gbp-meson-test-provider.c
@@ -454,10 +454,6 @@ gbp_meson_test_provider_run_build_cb (GObject      *object,
   g_assert (IDE_IS_TEST (run->test));
   g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
 
-  ide_runner_set_flags (runner,
-                        (G_SUBPROCESS_FLAGS_STDOUT_PIPE |
-                         G_SUBPROCESS_FLAGS_STDERR_PIPE));
-
   if (run->pty)
     ide_runner_set_pty (runner, run->pty);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]