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 | |
parent | e6fcba3026918611e9c1018d0369ca42974c913f (diff) | |
download | gnunet-8b60d961a48351edb4d23d5f13a36276405f54d1.tar.gz gnunet-8b60d961a48351edb4d23d5f13a36276405f54d1.zip |
social,psycstore: fix tests linking/debug
Diffstat (limited to 'src')
-rw-r--r-- | src/psycstore/test_psycstore.c | 8 | ||||
-rw-r--r-- | src/social/Makefile.am | 8 |
2 files changed, 9 insertions, 7 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 | }; |
diff --git a/src/social/Makefile.am b/src/social/Makefile.am index bc81cea40..a1dff3c58 100644 --- a/src/social/Makefile.am +++ b/src/social/Makefile.am | |||
@@ -80,13 +80,17 @@ test_social_LDADD = \ | |||
80 | $(top_builddir)/src/testing/libgnunettesting.la \ | 80 | $(top_builddir)/src/testing/libgnunettesting.la \ |
81 | $(top_builddir)/src/util/libgnunetutil.la \ | 81 | $(top_builddir)/src/util/libgnunetutil.la \ |
82 | $(top_builddir)/src/env/libgnunetenv.la \ | 82 | $(top_builddir)/src/env/libgnunetenv.la \ |
83 | $(top_builddir)/src/psyc/libgnunetpsycutil.la | 83 | $(top_builddir)/src/psyc/libgnunetpsycutil.la \ |
84 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
85 | $(top_builddir)/src/identity/libgnunetidentity.la | ||
84 | test_social_DEPENDENCIES = \ | 86 | test_social_DEPENDENCIES = \ |
85 | libgnunetsocial.la \ | 87 | libgnunetsocial.la \ |
86 | $(top_builddir)/src/testing/libgnunettesting.la \ | 88 | $(top_builddir)/src/testing/libgnunettesting.la \ |
87 | $(top_builddir)/src/util/libgnunetutil.la \ | 89 | $(top_builddir)/src/util/libgnunetutil.la \ |
88 | $(top_builddir)/src/env/libgnunetenv.la \ | 90 | $(top_builddir)/src/env/libgnunetenv.la \ |
89 | $(top_builddir)/src/psyc/libgnunetpsycutil.la | 91 | $(top_builddir)/src/psyc/libgnunetpsycutil.la \ |
92 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
93 | $(top_builddir)/src/identity/libgnunetidentity.la | ||
90 | 94 | ||
91 | EXTRA_DIST = \ | 95 | EXTRA_DIST = \ |
92 | test_social.conf | 96 | test_social.conf |