aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-helper-testbed-valgrind.patch
blob: 1777c30d0c435efc0f19c7d4995b6dbb966d890f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: gnunet-helper-testbed.c
===================================================================
--- gnunet-helper-testbed.c	(revision 32320)
+++ gnunet-helper-testbed.c	(working copy)
@@ -462,7 +462,15 @@
   testbed =
       GNUNET_OS_start_process (PIPE_CONTROL,
                                GNUNET_OS_INHERIT_STD_ERR /*verbose? */ , NULL,
-                               NULL, binary, "gnunet-service-testbed", "-c",
+                               NULL, "valgrind",
+                               "valgrind",
+                               "--leak-check=full",
+                               "--show-reachable=yes",
+                               "--suppressions=$HOME/gnunet/src/util/util.supp",
+                               "--suppressions=$HOME/gnunet/src/testbed/misc.supp",
+                               "--suppressions=$HOME/gnunet/src/testbed/valgrind-zlib.supp",
+                               "--suppressions=$HOME/gnunet/src/testbed/x64_misc.supp",
+                               binary, "-c",
                                config, NULL);
   GNUNET_free (binary);
   GNUNET_free (config);