From b618f1ebf6121fd8652c44a43b70724d883b73e4 Mon Sep 17 00:00:00 2001 From: Gabor X Toth <*@tg-x.net> Date: Thu, 24 Jul 2014 08:17:41 +0000 Subject: multicast,psyc,social: remove DEBUG #defines from tests to keep `make check` working --- src/multicast/test_multicast.c | 6 ++---- src/psyc/test_psyc.c | 7 ++----- src/social/test_social.c | 5 ++--- 3 files changed, 6 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/multicast/test_multicast.c b/src/multicast/test_multicast.c index 73606c4b0..a8a8cb611 100644 --- a/src/multicast/test_multicast.c +++ b/src/multicast/test_multicast.c @@ -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 @@ end () * @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 @@ int main (int argc, char *argv[]) { res = 1; -#if DEBUG_SERVICE +#if DEBUG_TEST_MULTICAST const struct GNUNET_GETOPT_CommandLineOption opts[] = { GNUNET_GETOPT_OPTION_END }; diff --git a/src/psyc/test_psyc.c b/src/psyc/test_psyc.c index 495e3be47..2f6c8f628 100644 --- a/src/psyc/test_psyc.c +++ b/src/psyc/test_psyc.c @@ -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 @@ master_start_cb (void *cls, uint64_t max_message_id) * @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 @@ int main (int argc, char *argv[]) { res = 1; -#if DEBUG_SERVICE +#if DEBUG_TEST_PSYC const struct GNUNET_GETOPT_CommandLineOption opts[] = { GNUNET_GETOPT_OPTION_END }; diff --git a/src/social/test_social.c b/src/social/test_social.c index fa3ce6e6d..5072ecec0 100644 --- a/src/social/test_social.c +++ b/src/social/test_social.c @@ -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 @@ core_connected (void *cls, const struct GNUNET_PeerIdentity *my_identity) * @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 @@ int main (int argc, char *argv[]) { res = 1; -#if DEBUG_SERVICE +#if DEBUG_TEST_SOCIAL const struct GNUNET_GETOPT_CommandLineOption opts[] = { GNUNET_GETOPT_OPTION_END }; -- cgit v1.2.3