diff options
author | Gabor X Toth <*@tg-x.net> | 2014-07-24 21:56:12 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-07-24 21:56:12 +0000 |
commit | 8b60d961a48351edb4d23d5f13a36276405f54d1 (patch) | |
tree | 19d9a79c72e2ee77cf046f8dcfa65ecd9d561bd5 /src/psycstore | |
parent | e6fcba3026918611e9c1018d0369ca42974c913f (diff) | |
download | gnunet-8b60d961a48351edb4d23d5f13a36276405f54d1.tar.gz gnunet-8b60d961a48351edb4d23d5f13a36276405f54d1.zip |
social,psycstore: fix tests linking/debug
Diffstat (limited to 'src/psycstore')
-rw-r--r-- | src/psycstore/test_psycstore.c | 8 |
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 | */ |
485 | static void | 483 | static void |
486 | #if DEBUG_SERVICE | 484 | #if DEBUG_TEST_PSYCSTORE |
487 | run (void *cls, char *const *args, const char *cfgfile, | 485 | run (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 | |||
513 | main (int argc, char *argv[]) | 511 | main (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 | }; |