[gnome-builder/wip/chergert/gnome-builder-flatpak: 77/79] flatpak: add helper to test with valgrind



commit bd36c31d5fc0445e982e01524c867eb9ba58a226
Author: Christian Hergert <chergert redhat com>
Date:   Wed Apr 10 16:50:09 2019 -0700

    flatpak: add helper to test with valgrind

 src/plugins/flatpak/daemon/test-flatpak.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/daemon/test-flatpak.c b/src/plugins/flatpak/daemon/test-flatpak.c
index 43504d34a..954d479b6 100644
--- a/src/plugins/flatpak/daemon/test-flatpak.c
+++ b/src/plugins/flatpak/daemon/test-flatpak.c
@@ -126,7 +126,11 @@ main (gint argc,
   GMainLoop *main_loop;
 
   launcher = g_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDIN_PIPE | G_SUBPROCESS_FLAGS_STDOUT_PIPE);
-  subprocess = g_subprocess_launcher_spawn (launcher, &error, "./gnome-builder-flatpak", NULL);
+  subprocess = g_subprocess_launcher_spawn (launcher, &error,
+#if 0
+                                            "valgrind", "--quiet",
+#endif
+                                            "./gnome-builder-flatpak", NULL);
 
   if (subprocess == NULL)
     g_error ("%s", error->message);


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