gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r34027 - in gnunet/src: multicast psyc social


From: gnunet
Subject: [GNUnet-SVN] r34027 - in gnunet/src: multicast psyc social
Date: Thu, 24 Jul 2014 10:17:41 +0200

Author: tg
Date: 2014-07-24 10:17:41 +0200 (Thu, 24 Jul 2014)
New Revision: 34027

Modified:
   gnunet/src/multicast/test_multicast.c
   gnunet/src/psyc/test_psyc.c
   gnunet/src/social/test_social.c
Log:
multicast,psyc,social: remove DEBUG #defines from tests to keep `make check` 
working

Modified: gnunet/src/multicast/test_multicast.c
===================================================================
--- gnunet/src/multicast/test_multicast.c       2014-07-24 07:59:21 UTC (rev 
34026)
+++ gnunet/src/multicast/test_multicast.c       2014-07-24 08:17:41 UTC (rev 
34027)
@@ -35,8 +35,6 @@
 
 #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
 
-#define DEBUG_SERVICE 0
-
 /**
  * Return value from 'main'.
  */
@@ -116,7 +114,7 @@
  * @param peer handle to access more of the peer (not used)
  */
 static void
-#if DEBUG_SERVICE
+#if DEBUG_TEST_MULTICAST
 run (void *cls, char *const *args, const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *c)
 #else
@@ -138,7 +136,7 @@
 main (int argc, char *argv[])
 {
   res = 1;
-#if DEBUG_SERVICE
+#if DEBUG_TEST_MULTICAST
   const struct GNUNET_GETOPT_CommandLineOption opts[] = {
     GNUNET_GETOPT_OPTION_END
   };

Modified: gnunet/src/psyc/test_psyc.c
===================================================================
--- gnunet/src/psyc/test_psyc.c 2014-07-24 07:59:21 UTC (rev 34026)
+++ gnunet/src/psyc/test_psyc.c 2014-07-24 08:17:41 UTC (rev 34027)
@@ -38,9 +38,6 @@
 
 #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
 
-#define DEBUG_SERVICE 0
-
-
 /**
  * Return value from 'main'.
  */
@@ -570,7 +567,7 @@
  * @param peer handle to access more of the peer (not used)
  */
 static void
-#if DEBUG_SERVICE
+#if DEBUG_TEST_PSYC
 run (void *cls, char *const *args, const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *c)
 #else
@@ -600,7 +597,7 @@
 main (int argc, char *argv[])
 {
   res = 1;
-#if DEBUG_SERVICE
+#if DEBUG_TEST_PSYC
   const struct GNUNET_GETOPT_CommandLineOption opts[] = {
     GNUNET_GETOPT_OPTION_END
   };

Modified: gnunet/src/social/test_social.c
===================================================================
--- gnunet/src/social/test_social.c     2014-07-24 07:59:21 UTC (rev 34026)
+++ gnunet/src/social/test_social.c     2014-07-24 08:17:41 UTC (rev 34027)
@@ -38,7 +38,6 @@
 
 #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
 
-#define DEBUG_SERVICE 1
 #define DATA2ARG(data) data, sizeof (data)
 
 /**
@@ -763,7 +762,7 @@
  * @param peer handle to access more of the peer (not used)
  */
 void
-#if DEBUG_SERVICE
+#if DEBUG_TEST_SOCIAL
 run (void *cls, char *const *args, const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *c)
 #else
@@ -790,7 +789,7 @@
 main (int argc, char *argv[])
 {
   res = 1;
-#if DEBUG_SERVICE
+#if DEBUG_TEST_SOCIAL
   const struct GNUNET_GETOPT_CommandLineOption opts[] = {
     GNUNET_GETOPT_OPTION_END
   };




reply via email to

[Prev in Thread] Current Thread [Next in Thread]