diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-09-29 07:52:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-09-29 07:52:23 +0000 |
commit | cffbdaf5b9053fcf4266423b2167227523b082c4 (patch) | |
tree | d801c9ed0558a81e2006553916cc1247c20e5cef /src/datacache/test_datacache.c | |
parent | 8fb11120e2ac1773d07f5df4e2e299637c752338 (diff) | |
download | gnunet-cffbdaf5b9053fcf4266423b2167227523b082c4.tar.gz gnunet-cffbdaf5b9053fcf4266423b2167227523b082c4.zip |
report skipped tests, doxygen fixes
Diffstat (limited to 'src/datacache/test_datacache.c')
-rw-r--r-- | src/datacache/test_datacache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datacache/test_datacache.c b/src/datacache/test_datacache.c index 726378aa3..ddddf0008 100644 --- a/src/datacache/test_datacache.c +++ b/src/datacache/test_datacache.c | |||
@@ -77,6 +77,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
77 | FPRINTF (stderr, | 77 | FPRINTF (stderr, |
78 | "%s", | 78 | "%s", |
79 | "Failed to initialize datacache. Database likely not setup, skipping test.\n"); | 79 | "Failed to initialize datacache. Database likely not setup, skipping test.\n"); |
80 | ok = 77; /* mark test as skipped */ | ||
80 | return; | 81 | return; |
81 | } | 82 | } |
82 | exp = GNUNET_TIME_absolute_get (); | 83 | exp = GNUNET_TIME_absolute_get (); |
@@ -140,7 +141,7 @@ main (int argc, char *argv[]) | |||
140 | plugin_name); | 141 | plugin_name); |
141 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, | 142 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, |
142 | "test-datacache", "nohelp", options, &run, NULL); | 143 | "test-datacache", "nohelp", options, &run, NULL); |
143 | if (0 != ok) | 144 | if ( (0 != ok) && (77 != ok) ) |
144 | FPRINTF (stderr, "Missed some testcases: %d\n", ok); | 145 | FPRINTF (stderr, "Missed some testcases: %d\n", ok); |
145 | return ok; | 146 | return ok; |
146 | } | 147 | } |