gnunet-helper-testbed-valgrind.patch 1.1 KB

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