diff options
Diffstat (limited to 'src/namestore/Makefile.am')
-rw-r--r-- | src/namestore/Makefile.am | 111 |
1 files changed, 65 insertions, 46 deletions
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am index a441f5d70..e9b0f179a 100644 --- a/src/namestore/Makefile.am +++ b/src/namestore/Makefile.am | |||
@@ -45,24 +45,43 @@ endif | |||
45 | # testcases do not even build yet; thus: experimental! | 45 | # testcases do not even build yet; thus: experimental! |
46 | if HAVE_TESTING | 46 | if HAVE_TESTING |
47 | TESTING_TESTS = \ | 47 | TESTING_TESTS = \ |
48 | test_namestore_api_store \ | 48 | test_namestore_api_store.nc \ |
49 | test_namestore_api_store_update \ | 49 | test_namestore_api_store_update.nc \ |
50 | test_namestore_api_lookup_public \ | 50 | test_namestore_api_lookup_public.nc \ |
51 | test_namestore_api_lookup_private \ | 51 | test_namestore_api_lookup_private.nc \ |
52 | test_namestore_api_lookup_nick \ | 52 | test_namestore_api_lookup_nick.nc \ |
53 | test_namestore_api_lookup_shadow \ | 53 | test_namestore_api_lookup_shadow.nc \ |
54 | test_namestore_api_lookup_shadow_filter \ | 54 | test_namestore_api_lookup_shadow_filter.nc \ |
55 | test_namestore_api_remove \ | 55 | test_namestore_api_remove.nc \ |
56 | test_namestore_api_remove_not_existing_record \ | 56 | test_namestore_api_remove_not_existing_record.nc \ |
57 | test_namestore_api_zone_iteration \ | 57 | test_namestore_api_zone_iteration.nc \ |
58 | test_namestore_api_zone_iteration_nick \ | 58 | test_namestore_api_zone_iteration_nick.nc \ |
59 | test_namestore_api_zone_iteration_specific_zone \ | 59 | test_namestore_api_zone_iteration_specific_zone.nc \ |
60 | test_namestore_api_zone_iteration_stop \ | 60 | test_namestore_api_zone_iteration_stop.nc \ |
61 | test_namestore_api_monitoring \ | 61 | test_namestore_api_monitoring.nc \ |
62 | test_namestore_api_monitoring_existing | 62 | test_namestore_api_monitoring_existing.nc |
63 | # test_namestore_api_zone_to_name | 63 | # test_namestore_api_zone_to_name |
64 | endif | 64 | endif |
65 | 65 | ||
66 | # Declare .nc (NO-CONCURRENCY) as a test extension so that we can impart | ||
67 | # sequential execution order for them | ||
68 | TEST_EXTENSIONS = .nc | ||
69 | test_namestore_api_store.log: test_namestore_api_store_update.log | ||
70 | test_namestore_api_store_update.log: test_namestore_api_lookup_public.log | ||
71 | test_namestore_api_lookup_public.log: test_namestore_api_lookup_private.log | ||
72 | test_namestore_api_lookup_private.log: test_namestore_api_lookup_nick.log | ||
73 | test_namestore_api_lookup_nick.log: test_namestore_api_lookup_shadow.log | ||
74 | test_namestore_api_lookup_shadow.log: test_namestore_api_lookup_shadow_filter.log | ||
75 | test_namestore_api_lookup_shadow_filter.log: test_namestore_api_remove.log | ||
76 | test_namestore_api_remove.log: test_namestore_api_remove_not_existing_record.log | ||
77 | test_namestore_api_remove_not_existing_record.log: test_namestore_api_zone_iteration.log | ||
78 | test_namestore_api_zone_iteration.log: test_namestore_api_zone_iteration_nick.log | ||
79 | test_namestore_api_zone_iteration_nick.log: test_namestore_api_zone_iteration_specific_zone.log | ||
80 | test_namestore_api_zone_iteration_specific_zone.log: test_namestore_api_zone_iteration_stop.log | ||
81 | test_namestore_api_zone_iteration_stop.log: test_namestore_api_monitoring.log | ||
82 | test_namestore_api_monitoring.log: test_namestore_api_monitoring_existing.log | ||
83 | |||
84 | |||
66 | if HAVE_SQLITE | 85 | if HAVE_SQLITE |
67 | check_PROGRAMS = \ | 86 | check_PROGRAMS = \ |
68 | $(SQLITE_TESTS) \ | 87 | $(SQLITE_TESTS) \ |
@@ -202,79 +221,79 @@ libgnunet_plugin_rest_namestore_la_LDFLAGS = \ | |||
202 | $(GN_PLUGIN_LDFLAGS) | 221 | $(GN_PLUGIN_LDFLAGS) |
203 | 222 | ||
204 | 223 | ||
205 | test_namestore_api_store_SOURCES = \ | 224 | test_namestore_api_store_nc_SOURCES = \ |
206 | test_namestore_api_store.c | 225 | test_namestore_api_store.c |
207 | test_namestore_api_store_LDADD = \ | 226 | test_namestore_api_store_nc_LDADD = \ |
208 | $(top_builddir)/src/testing/libgnunettesting.la \ | 227 | $(top_builddir)/src/testing/libgnunettesting.la \ |
209 | $(top_builddir)/src/util/libgnunetutil.la \ | 228 | $(top_builddir)/src/util/libgnunetutil.la \ |
210 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 229 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
211 | libgnunetnamestore.la | 230 | libgnunetnamestore.la |
212 | 231 | ||
213 | test_namestore_api_store_update_SOURCES = \ | 232 | test_namestore_api_store_update_nc_SOURCES = \ |
214 | test_namestore_api_store_update.c | 233 | test_namestore_api_store_update.c |
215 | test_namestore_api_store_update_LDADD = \ | 234 | test_namestore_api_store_update_nc_LDADD = \ |
216 | $(top_builddir)/src/testing/libgnunettesting.la \ | 235 | $(top_builddir)/src/testing/libgnunettesting.la \ |
217 | $(top_builddir)/src/util/libgnunetutil.la \ | 236 | $(top_builddir)/src/util/libgnunetutil.la \ |
218 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 237 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
219 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ | 238 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ |
220 | libgnunetnamestore.la | 239 | libgnunetnamestore.la |
221 | 240 | ||
222 | test_namestore_api_lookup_public_SOURCES = \ | 241 | test_namestore_api_lookup_public_nc_SOURCES = \ |
223 | test_namestore_api_lookup_public.c | 242 | test_namestore_api_lookup_public.c |
224 | test_namestore_api_lookup_public_LDADD = \ | 243 | test_namestore_api_lookup_public_nc_LDADD = \ |
225 | $(top_builddir)/src/testing/libgnunettesting.la \ | 244 | $(top_builddir)/src/testing/libgnunettesting.la \ |
226 | $(top_builddir)/src/util/libgnunetutil.la \ | 245 | $(top_builddir)/src/util/libgnunetutil.la \ |
227 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 246 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
228 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ | 247 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ |
229 | libgnunetnamestore.la | 248 | libgnunetnamestore.la |
230 | 249 | ||
231 | test_namestore_api_lookup_nick_SOURCES = \ | 250 | test_namestore_api_lookup_nick_nc_SOURCES = \ |
232 | test_namestore_api_lookup_nick.c | 251 | test_namestore_api_lookup_nick.c |
233 | test_namestore_api_lookup_nick_LDADD = \ | 252 | test_namestore_api_lookup_nick_nc_LDADD = \ |
234 | $(top_builddir)/src/testing/libgnunettesting.la \ | 253 | $(top_builddir)/src/testing/libgnunettesting.la \ |
235 | $(top_builddir)/src/util/libgnunetutil.la \ | 254 | $(top_builddir)/src/util/libgnunetutil.la \ |
236 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 255 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
237 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ | 256 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ |
238 | libgnunetnamestore.la | 257 | libgnunetnamestore.la |
239 | 258 | ||
240 | test_namestore_api_lookup_private_SOURCES = \ | 259 | test_namestore_api_lookup_private_nc_SOURCES = \ |
241 | test_namestore_api_lookup_private.c | 260 | test_namestore_api_lookup_private.c |
242 | test_namestore_api_lookup_private_LDADD = \ | 261 | test_namestore_api_lookup_private_nc_LDADD = \ |
243 | $(top_builddir)/src/testing/libgnunettesting.la \ | 262 | $(top_builddir)/src/testing/libgnunettesting.la \ |
244 | $(top_builddir)/src/util/libgnunetutil.la \ | 263 | $(top_builddir)/src/util/libgnunetutil.la \ |
245 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 264 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
246 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ | 265 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ |
247 | libgnunetnamestore.la | 266 | libgnunetnamestore.la |
248 | 267 | ||
249 | test_namestore_api_lookup_shadow_SOURCES = \ | 268 | test_namestore_api_lookup_shadow_nc_SOURCES = \ |
250 | test_namestore_api_lookup_shadow.c | 269 | test_namestore_api_lookup_shadow.c |
251 | test_namestore_api_lookup_shadow_LDADD = \ | 270 | test_namestore_api_lookup_shadow_nc_LDADD = \ |
252 | $(top_builddir)/src/testing/libgnunettesting.la \ | 271 | $(top_builddir)/src/testing/libgnunettesting.la \ |
253 | $(top_builddir)/src/util/libgnunetutil.la \ | 272 | $(top_builddir)/src/util/libgnunetutil.la \ |
254 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 273 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
255 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ | 274 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ |
256 | libgnunetnamestore.la | 275 | libgnunetnamestore.la |
257 | 276 | ||
258 | test_namestore_api_lookup_shadow_filter_SOURCES = \ | 277 | test_namestore_api_lookup_shadow_filter_nc_SOURCES = \ |
259 | test_namestore_api_lookup_shadow_filter.c | 278 | test_namestore_api_lookup_shadow_filter.c |
260 | test_namestore_api_lookup_shadow_filter_LDADD = \ | 279 | test_namestore_api_lookup_shadow_filter_nc_LDADD = \ |
261 | $(top_builddir)/src/testing/libgnunettesting.la \ | 280 | $(top_builddir)/src/testing/libgnunettesting.la \ |
262 | $(top_builddir)/src/util/libgnunetutil.la \ | 281 | $(top_builddir)/src/util/libgnunetutil.la \ |
263 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 282 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
264 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ | 283 | $(top_builddir)/src/namecache/libgnunetnamecache.la \ |
265 | libgnunetnamestore.la | 284 | libgnunetnamestore.la |
266 | 285 | ||
267 | test_namestore_api_remove_SOURCES = \ | 286 | test_namestore_api_remove_nc_SOURCES = \ |
268 | test_namestore_api_remove.c | 287 | test_namestore_api_remove.c |
269 | test_namestore_api_remove_LDADD = \ | 288 | test_namestore_api_remove_nc_LDADD = \ |
270 | $(top_builddir)/src/testing/libgnunettesting.la \ | 289 | $(top_builddir)/src/testing/libgnunettesting.la \ |
271 | $(top_builddir)/src/util/libgnunetutil.la \ | 290 | $(top_builddir)/src/util/libgnunetutil.la \ |
272 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 291 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
273 | libgnunetnamestore.la | 292 | libgnunetnamestore.la |
274 | 293 | ||
275 | test_namestore_api_remove_not_existing_record_SOURCES = \ | 294 | test_namestore_api_remove_not_existing_record_nc_SOURCES = \ |
276 | test_namestore_api_remove_not_existing_record.c | 295 | test_namestore_api_remove_not_existing_record.c |
277 | test_namestore_api_remove_not_existing_record_LDADD = \ | 296 | test_namestore_api_remove_not_existing_record_nc_LDADD = \ |
278 | $(top_builddir)/src/testing/libgnunettesting.la \ | 297 | $(top_builddir)/src/testing/libgnunettesting.la \ |
279 | $(top_builddir)/src/util/libgnunetutil.la \ | 298 | $(top_builddir)/src/util/libgnunetutil.la \ |
280 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 299 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
@@ -287,50 +306,50 @@ test_namestore_api_remove_not_existing_record_LDADD = \ | |||
287 | # $(top_builddir)/src/util/libgnunetutil.la \ | 306 | # $(top_builddir)/src/util/libgnunetutil.la \ |
288 | # libgnunetnamestore.la | 307 | # libgnunetnamestore.la |
289 | 308 | ||
290 | test_namestore_api_monitoring_SOURCES = \ | 309 | test_namestore_api_monitoring_nc_SOURCES = \ |
291 | test_namestore_api_monitoring.c | 310 | test_namestore_api_monitoring.c |
292 | test_namestore_api_monitoring_LDADD = \ | 311 | test_namestore_api_monitoring_nc_LDADD = \ |
293 | $(top_builddir)/src/testing/libgnunettesting.la \ | 312 | $(top_builddir)/src/testing/libgnunettesting.la \ |
294 | libgnunetnamestore.la \ | 313 | libgnunetnamestore.la \ |
295 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 314 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
296 | $(top_builddir)/src/util/libgnunetutil.la | 315 | $(top_builddir)/src/util/libgnunetutil.la |
297 | 316 | ||
298 | test_namestore_api_monitoring_existing_SOURCES = \ | 317 | test_namestore_api_monitoring_existing_nc_SOURCES = \ |
299 | test_namestore_api_monitoring_existing.c | 318 | test_namestore_api_monitoring_existing.c |
300 | test_namestore_api_monitoring_existing_LDADD = \ | 319 | test_namestore_api_monitoring_existing_nc_LDADD = \ |
301 | $(top_builddir)/src/testing/libgnunettesting.la \ | 320 | $(top_builddir)/src/testing/libgnunettesting.la \ |
302 | libgnunetnamestore.la \ | 321 | libgnunetnamestore.la \ |
303 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 322 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
304 | $(top_builddir)/src/util/libgnunetutil.la | 323 | $(top_builddir)/src/util/libgnunetutil.la |
305 | 324 | ||
306 | test_namestore_api_zone_iteration_SOURCES = \ | 325 | test_namestore_api_zone_iteration_nc_SOURCES = \ |
307 | test_namestore_api_zone_iteration.c | 326 | test_namestore_api_zone_iteration.c |
308 | test_namestore_api_zone_iteration_LDADD = \ | 327 | test_namestore_api_zone_iteration_nc_LDADD = \ |
309 | $(top_builddir)/src/testing/libgnunettesting.la \ | 328 | $(top_builddir)/src/testing/libgnunettesting.la \ |
310 | $(top_builddir)/src/util/libgnunetutil.la \ | 329 | $(top_builddir)/src/util/libgnunetutil.la \ |
311 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 330 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
312 | libgnunetnamestore.la | 331 | libgnunetnamestore.la |
313 | 332 | ||
314 | test_namestore_api_zone_iteration_nick_SOURCES = \ | 333 | test_namestore_api_zone_iteration_nick_nc_SOURCES = \ |
315 | test_namestore_api_zone_iteration_nick.c | 334 | test_namestore_api_zone_iteration_nick.c |
316 | test_namestore_api_zone_iteration_nick_LDADD = \ | 335 | test_namestore_api_zone_iteration_nick_nc_LDADD = \ |
317 | $(top_builddir)/src/testing/libgnunettesting.la \ | 336 | $(top_builddir)/src/testing/libgnunettesting.la \ |
318 | $(top_builddir)/src/util/libgnunetutil.la \ | 337 | $(top_builddir)/src/util/libgnunetutil.la \ |
319 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 338 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
320 | libgnunetnamestore.la | 339 | libgnunetnamestore.la |
321 | 340 | ||
322 | 341 | ||
323 | test_namestore_api_zone_iteration_specific_zone_SOURCES = \ | 342 | test_namestore_api_zone_iteration_specific_zone_nc_SOURCES = \ |
324 | test_namestore_api_zone_iteration_specific_zone.c | 343 | test_namestore_api_zone_iteration_specific_zone.c |
325 | test_namestore_api_zone_iteration_specific_zone_LDADD = \ | 344 | test_namestore_api_zone_iteration_specific_zone_nc_LDADD = \ |
326 | $(top_builddir)/src/testing/libgnunettesting.la \ | 345 | $(top_builddir)/src/testing/libgnunettesting.la \ |
327 | $(top_builddir)/src/util/libgnunetutil.la \ | 346 | $(top_builddir)/src/util/libgnunetutil.la \ |
328 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 347 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
329 | libgnunetnamestore.la | 348 | libgnunetnamestore.la |
330 | 349 | ||
331 | test_namestore_api_zone_iteration_stop_SOURCES = \ | 350 | test_namestore_api_zone_iteration_stop_nc_SOURCES = \ |
332 | test_namestore_api_zone_iteration_stop.c | 351 | test_namestore_api_zone_iteration_stop.c |
333 | test_namestore_api_zone_iteration_stop_LDADD = \ | 352 | test_namestore_api_zone_iteration_stop_nc_LDADD = \ |
334 | $(top_builddir)/src/testing/libgnunettesting.la \ | 353 | $(top_builddir)/src/testing/libgnunettesting.la \ |
335 | $(top_builddir)/src/util/libgnunetutil.la \ | 354 | $(top_builddir)/src/util/libgnunetutil.la \ |
336 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 355 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
@@ -363,7 +382,7 @@ EXTRA_DIST = \ | |||
363 | test_namestore_api.conf \ | 382 | test_namestore_api.conf \ |
364 | test_plugin_namestore_sqlite.conf \ | 383 | test_plugin_namestore_sqlite.conf \ |
365 | test_plugin_namestore_postgres.conf \ | 384 | test_plugin_namestore_postgres.conf \ |
366 | test_plugin_namestore_flat.conf \ | 385 | test_plugin_namestore_flat.conf \ |
367 | test_hostkey \ | 386 | test_hostkey \ |
368 | zonefiles/S5I9DSGQVAB5FVV16T3B3CC5H1B2JGL3Q412JBKURME8EKU0600G.zkey \ | 387 | zonefiles/S5I9DSGQVAB5FVV16T3B3CC5H1B2JGL3Q412JBKURME8EKU0600G.zkey \ |
369 | zonefiles/AQ835GVL939H4O8QJQ7GBLPTQC0QAAO91BN7QK01BA63MDSK6I4G.zkey \ | 388 | zonefiles/AQ835GVL939H4O8QJQ7GBLPTQC0QAAO91BN7QK01BA63MDSK6I4G.zkey \ |