diff options
Diffstat (limited to 'src/datacache/perf_datacache.c')
-rw-r--r-- | src/datacache/perf_datacache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datacache/perf_datacache.c b/src/datacache/perf_datacache.c index 3750b9256..5c08cea95 100644 --- a/src/datacache/perf_datacache.c +++ b/src/datacache/perf_datacache.c | |||
@@ -75,6 +75,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
75 | if (h == NULL) | 75 | if (h == NULL) |
76 | { | 76 | { |
77 | FPRINTF (stderr, "%s", "Failed to initialize datacache. Database likely not setup, skipping test.\n"); | 77 | FPRINTF (stderr, "%s", "Failed to initialize datacache. Database likely not setup, skipping test.\n"); |
78 | ok = 77; /* mark test as skipped */ | ||
78 | return; | 79 | return; |
79 | } | 80 | } |
80 | exp = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS); | 81 | exp = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS); |
@@ -150,7 +151,7 @@ main (int argc, char *argv[]) | |||
150 | plugin_name); | 151 | plugin_name); |
151 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, | 152 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, |
152 | "perf-datacache", "nohelp", options, &run, NULL); | 153 | "perf-datacache", "nohelp", options, &run, NULL); |
153 | if (ok != 0) | 154 | if ( (0 != ok) && (77 != ok) ) |
154 | FPRINTF (stderr, "Missed some perfcases: %d\n", ok); | 155 | FPRINTF (stderr, "Missed some perfcases: %d\n", ok); |
155 | return ok; | 156 | return ok; |
156 | } | 157 | } |