[gnome-builder/wip/chergert/gnome-builder-flatpak: 4/6] flatpak: add helper to test with valgrind
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/gnome-builder-flatpak: 4/6] flatpak: add helper to test with valgrind
- Date: Thu, 11 Apr 2019 06:28:45 +0000 (UTC)
commit aaa619c4218eb0b9008f573477d32f9a4bf7decd
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]