aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2014-07-24 21:56:12 +0000
committerGabor X Toth <*@tg-x.net>2014-07-24 21:56:12 +0000
commit8b60d961a48351edb4d23d5f13a36276405f54d1 (patch)
tree19d9a79c72e2ee77cf046f8dcfa65ecd9d561bd5 /src/psycstore
parente6fcba3026918611e9c1018d0369ca42974c913f (diff)
downloadgnunet-8b60d961a48351edb4d23d5f13a36276405f54d1.tar.gz
gnunet-8b60d961a48351edb4d23d5f13a36276405f54d1.zip
social,psycstore: fix tests linking/debug
Diffstat (limited to 'src/psycstore')
-rw-r--r--src/psycstore/test_psycstore.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/psycstore/test_psycstore.c b/src/psycstore/test_psycstore.c
index 72415215d..8ecc7a96f 100644
--- a/src/psycstore/test_psycstore.c
+++ b/src/psycstore/test_psycstore.c
@@ -31,9 +31,7 @@
31#include "gnunet_testing_lib.h" 31#include "gnunet_testing_lib.h"
32#include "gnunet_psycstore_service.h" 32#include "gnunet_psycstore_service.h"
33 33
34#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) 34#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
35
36#define DEBUG_SERVICE 0
37 35
38 36
39/** 37/**
@@ -483,7 +481,7 @@ membership_store_result (void *cls, int64_t result, const char *err_msg)
483 * @param peer handle to access more of the peer (not used) 481 * @param peer handle to access more of the peer (not used)
484 */ 482 */
485static void 483static void
486#if DEBUG_SERVICE 484#if DEBUG_TEST_PSYCSTORE
487run (void *cls, char *const *args, const char *cfgfile, 485run (void *cls, char *const *args, const char *cfgfile,
488 const struct GNUNET_CONFIGURATION_Handle *cfg) 486 const struct GNUNET_CONFIGURATION_Handle *cfg)
489#else 487#else
@@ -513,7 +511,7 @@ int
513main (int argc, char *argv[]) 511main (int argc, char *argv[])
514{ 512{
515 res = 1; 513 res = 1;
516#if DEBUG_SERVICE 514#if DEBUG_TEST_PSYCSTORE
517 const struct GNUNET_GETOPT_CommandLineOption opts[] = { 515 const struct GNUNET_GETOPT_CommandLineOption opts[] = {
518 GNUNET_GETOPT_OPTION_END 516 GNUNET_GETOPT_OPTION_END
519 }; 517 };