diff options
Diffstat (limited to 'src/testbed/Makefile.am')
-rw-r--r-- | src/testbed/Makefile.am | 401 |
1 files changed, 0 insertions, 401 deletions
diff --git a/src/testbed/Makefile.am b/src/testbed/Makefile.am deleted file mode 100644 index 11399e77c..000000000 --- a/src/testbed/Makefile.am +++ /dev/null | |||
@@ -1,401 +0,0 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | if USE_COVERAGE | ||
5 | AM_CFLAGS = --coverage -O0 | ||
6 | XLIB = -lgcov | ||
7 | endif | ||
8 | |||
9 | plugindir = $(libdir)/gnunet | ||
10 | |||
11 | libexecdir= $(pkglibdir)/libexec/ | ||
12 | |||
13 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
14 | |||
15 | pkgcfg_DATA = \ | ||
16 | testbed.conf | ||
17 | |||
18 | if HAVE_SQLITE | ||
19 | underlay_daemon = gnunet-daemon-testbed-underlay | ||
20 | latency_logger = gnunet-daemon-latency-logger | ||
21 | generate_underlay = generate-underlay-topology | ||
22 | underlay_testcases = test_testbed_underlay | ||
23 | endif | ||
24 | |||
25 | libexec_PROGRAMS = \ | ||
26 | gnunet-service-testbed \ | ||
27 | gnunet-helper-testbed \ | ||
28 | gnunet-daemon-testbed-blacklist \ | ||
29 | $(underlay_daemon) \ | ||
30 | $(latency_logger) | ||
31 | |||
32 | bin_PROGRAMS = \ | ||
33 | gnunet-testbed-profiler | ||
34 | |||
35 | noinst_PROGRAMS = \ | ||
36 | $(generate_underlay) | ||
37 | |||
38 | gnunet_service_testbed_SOURCES = \ | ||
39 | gnunet-service-testbed.c gnunet-service-testbed.h \ | ||
40 | gnunet-service-testbed_links.c gnunet-service-testbed_links.h \ | ||
41 | gnunet-service-testbed_peers.c \ | ||
42 | gnunet-service-testbed_cache.c \ | ||
43 | gnunet-service-testbed_oc.c \ | ||
44 | gnunet-service-testbed_cpustatus.c \ | ||
45 | gnunet-service-testbed_meminfo.c gnunet-service-testbed_meminfo.h \ | ||
46 | gnunet-service-testbed_barriers.c gnunet-service-testbed_barriers.h \ | ||
47 | gnunet-service-testbed_connectionpool.c gnunet-service-testbed_connectionpool.h | ||
48 | gnunet_service_testbed_LDADD = $(XLIB) \ | ||
49 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
50 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
51 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
52 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
53 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
54 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
55 | libgnunettestbed.la \ | ||
56 | $(top_builddir)/src/arm/libgnunetarm.la \ | ||
57 | $(LTLIBINTL) $(Z_LIBS) | ||
58 | |||
59 | gnunet_testbed_profiler_SOURCES = \ | ||
60 | gnunet-testbed-profiler.c | ||
61 | gnunet_testbed_profiler_LDADD = $(XLIB) \ | ||
62 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
63 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
64 | libgnunettestbed.la | ||
65 | gnunet_testbed_profiler_LDFLAGS = \ | ||
66 | $(GN_LIBINTL) | ||
67 | |||
68 | gnunet_helper_testbed_SOURCES = \ | ||
69 | gnunet-helper-testbed.c | ||
70 | gnunet_helper_testbed_LDADD = $(XLIB) \ | ||
71 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
72 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
73 | libgnunettestbed.la \ | ||
74 | $(LTLIBINTL) $(Z_LIBS) | ||
75 | |||
76 | gnunet_daemon_testbed_blacklist_SOURCES = gnunet-daemon-testbed-blacklist.c | ||
77 | gnunet_daemon_testbed_blacklist_LDADD = $(XLIB) \ | ||
78 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
79 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
80 | $(LTLIBINTL) | ||
81 | |||
82 | gnunet_daemon_testbed_underlay_SOURCES = gnunet-daemon-testbed-underlay.c | ||
83 | gnunet_daemon_testbed_underlay_LDADD = $(XLIB) \ | ||
84 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
85 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
86 | $(LTLIBINTL) -lsqlite3 | ||
87 | |||
88 | gnunet_daemon_latency_logger_SOURCES = gnunet-daemon-latency-logger.c | ||
89 | gnunet_daemon_latency_logger_LDADD = $(XLIB) \ | ||
90 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
91 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
92 | $(LTLIBINTL) -lsqlite3 | ||
93 | |||
94 | lib_LTLIBRARIES = \ | ||
95 | libgnunettestbed.la | ||
96 | |||
97 | libgnunettestbed_la_SOURCES = \ | ||
98 | testbed_api.c testbed_api.h testbed.h \ | ||
99 | testbed_api_hosts.c testbed_api_hosts.h testbed_helper.h \ | ||
100 | testbed_api_operations.c testbed_api_operations.h \ | ||
101 | testbed_api_peers.c testbed_api_peers.h \ | ||
102 | testbed_api_services.c \ | ||
103 | testbed_api_statistics.c \ | ||
104 | testbed_api_testbed.c \ | ||
105 | testbed_api_test.c \ | ||
106 | testbed_api_topology.c testbed_api_topology.h \ | ||
107 | testbed_api_sd.c testbed_api_sd.h \ | ||
108 | testbed_api_barriers.c | ||
109 | libgnunettestbed_la_LIBADD = $(XLIB) \ | ||
110 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
111 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
112 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
113 | -lm $(Z_LIBS) \ | ||
114 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
115 | $(top_builddir)/src/arm/libgnunetarm.la \ | ||
116 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
117 | $(LTLIBINTL) | ||
118 | libgnunettestbed_la_LDFLAGS = \ | ||
119 | $(GN_LIB_LDFLAGS) \ | ||
120 | -version-info 0:0:0 | ||
121 | |||
122 | generate_underlay_topology_SOURCES = generate-underlay-topology.c | ||
123 | generate_underlay_topology_LDADD = $(XLIB) \ | ||
124 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
125 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
126 | libgnunettestbed.la \ | ||
127 | $(LTLIBINTL) -lsqlite3 | ||
128 | |||
129 | check_PROGRAMS = \ | ||
130 | test_testbed_api_hosts \ | ||
131 | test_gnunet_helper_testbed \ | ||
132 | test_testbed_api_controllerlink \ | ||
133 | test_testbed_api_2peers_1controller \ | ||
134 | test_testbed_api_3peers_3controllers \ | ||
135 | test_testbed_api \ | ||
136 | test_testbed_api_sd \ | ||
137 | test_testbed_api_operations \ | ||
138 | test_testbed_api_testbed_run \ | ||
139 | test_testbed_api_test \ | ||
140 | test_testbed_api_test_timeout \ | ||
141 | test_testbed_api_peer_reconfiguration \ | ||
142 | test_testbed_api_peers_manage_services \ | ||
143 | test_testbed_api_topology \ | ||
144 | test_testbed_api_topology_clique \ | ||
145 | test_testbed_api_testbed_run_topologyrandom \ | ||
146 | test_testbed_api_testbed_run_topologyline \ | ||
147 | test_testbed_api_testbed_run_topologystar \ | ||
148 | test_testbed_api_testbed_run_topologyclique \ | ||
149 | test_testbed_api_testbed_run_topologyring \ | ||
150 | test_testbed_api_testbed_run_topologysmallworldring \ | ||
151 | test_testbed_api_testbed_run_topology2dtorus \ | ||
152 | test_testbed_api_testbed_run_topologysmallworld \ | ||
153 | test_testbed_api_testbed_run_topologyfromfile \ | ||
154 | test_testbed_api_testbed_run_topologyscalefree \ | ||
155 | test_testbed_api_testbed_run_waitforever \ | ||
156 | test_testbed_api_statistics \ | ||
157 | gnunet-service-test-barriers \ | ||
158 | test_testbed_api_barriers \ | ||
159 | $(underlay_testcases) | ||
160 | |||
161 | if ENABLE_TEST_RUN | ||
162 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
163 | TESTS = \ | ||
164 | test_testbed_api \ | ||
165 | test_testbed_api_sd \ | ||
166 | test_testbed_api_operations \ | ||
167 | test_testbed_api_hosts \ | ||
168 | test_gnunet_helper_testbed \ | ||
169 | test_testbed_api_2peers_1controller \ | ||
170 | test_testbed_api_controllerlink \ | ||
171 | test_testbed_api_3peers_3controllers \ | ||
172 | test_testbed_api_testbed_run \ | ||
173 | test_testbed_api_test \ | ||
174 | test_testbed_api_test_timeout \ | ||
175 | test_testbed_api_statistics \ | ||
176 | test_testbed_api_peer_reconfiguration \ | ||
177 | test_testbed_api_peers_manage_services \ | ||
178 | test_testbed_api_topology \ | ||
179 | test_testbed_api_topology_clique \ | ||
180 | test_testbed_api_testbed_run_topologyrandom \ | ||
181 | test_testbed_api_testbed_run_topologyline \ | ||
182 | test_testbed_api_testbed_run_topologystar \ | ||
183 | test_testbed_api_testbed_run_topologyclique \ | ||
184 | test_testbed_api_testbed_run_topologyring \ | ||
185 | test_testbed_api_testbed_run_topology2dtorus \ | ||
186 | test_testbed_api_testbed_run_topologysmallworld \ | ||
187 | test_testbed_api_testbed_run_topologysmallworldring \ | ||
188 | test_testbed_api_testbed_run_topologyfromfile \ | ||
189 | test_testbed_api_testbed_run_topologyscalefree \ | ||
190 | test_testbed_api_barriers \ | ||
191 | $(underlay_testcases) | ||
192 | endif | ||
193 | |||
194 | test_testbed_api_SOURCES = \ | ||
195 | test_testbed_api.c | ||
196 | test_testbed_api_LDADD = \ | ||
197 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
198 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
199 | $(top_builddir)/src/arm/libgnunetarm.la \ | ||
200 | libgnunettestbed.la | ||
201 | |||
202 | test_testbed_api_sd_SOURCES = \ | ||
203 | test_testbed_api_sd.c | ||
204 | test_testbed_api_sd_LDADD = \ | ||
205 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
206 | libgnunettestbed.la | ||
207 | |||
208 | test_testbed_api_2peers_1controller_SOURCES = \ | ||
209 | test_testbed_api_2peers_1controller.c | ||
210 | test_testbed_api_2peers_1controller_LDADD = \ | ||
211 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
212 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
213 | libgnunettestbed.la | ||
214 | |||
215 | test_testbed_api_3peers_3controllers_SOURCES = \ | ||
216 | test_testbed_api_3peers_3controllers.c | ||
217 | test_testbed_api_3peers_3controllers_LDADD = \ | ||
218 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
219 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
220 | libgnunettestbed.la | ||
221 | |||
222 | test_testbed_api_operations_SOURCES = \ | ||
223 | test_testbed_api_operations.c | ||
224 | test_testbed_api_operations_LDADD = \ | ||
225 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
226 | libgnunettestbed.la | ||
227 | |||
228 | test_testbed_api_hosts_SOURCES = \ | ||
229 | test_testbed_api_hosts.c | ||
230 | test_testbed_api_hosts_LDADD = \ | ||
231 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
232 | libgnunettestbed.la | ||
233 | |||
234 | test_testbed_api_controllerlink_SOURCES = \ | ||
235 | test_testbed_api_controllerlink.c | ||
236 | test_testbed_api_controllerlink_LDADD = \ | ||
237 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
238 | libgnunettestbed.la | ||
239 | |||
240 | test_testbed_api_testbed_run_SOURCES = \ | ||
241 | test_testbed_api_testbed_run.c | ||
242 | test_testbed_api_testbed_run_LDADD = \ | ||
243 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
244 | libgnunettestbed.la | ||
245 | |||
246 | test_testbed_api_test_SOURCES = \ | ||
247 | test_testbed_api_test.c | ||
248 | test_testbed_api_test_LDADD = \ | ||
249 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
250 | libgnunettestbed.la | ||
251 | |||
252 | test_testbed_api_test_timeout_SOURCES = \ | ||
253 | test_testbed_api_test_timeout.c | ||
254 | test_testbed_api_test_timeout_LDADD = \ | ||
255 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
256 | libgnunettestbed.la | ||
257 | |||
258 | test_testbed_api_topology_SOURCES = \ | ||
259 | test_testbed_api_topology.c | ||
260 | test_testbed_api_topology_LDADD = \ | ||
261 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
262 | libgnunettestbed.la | ||
263 | |||
264 | test_testbed_api_topology_clique_SOURCES = \ | ||
265 | test_testbed_api_topology_clique.c | ||
266 | test_testbed_api_topology_clique_LDADD = \ | ||
267 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
268 | libgnunettestbed.la | ||
269 | |||
270 | test_gnunet_helper_testbed_SOURCES = \ | ||
271 | test_gnunet_helper_testbed.c | ||
272 | test_gnunet_helper_testbed_LDADD = \ | ||
273 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
274 | libgnunettestbed.la \ | ||
275 | $(Z_LIBS) | ||
276 | |||
277 | test_testbed_api_testbed_run_topologyrandom_SOURCES = \ | ||
278 | test_testbed_api_testbed_run.c | ||
279 | test_testbed_api_testbed_run_topologyrandom_LDADD = \ | ||
280 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
281 | libgnunettestbed.la | ||
282 | |||
283 | test_testbed_api_testbed_run_topologyline_SOURCES = \ | ||
284 | test_testbed_api_testbed_run.c | ||
285 | test_testbed_api_testbed_run_topologyline_LDADD = \ | ||
286 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
287 | libgnunettestbed.la | ||
288 | |||
289 | test_testbed_api_testbed_run_topologystar_SOURCES = \ | ||
290 | test_testbed_api_testbed_run.c | ||
291 | test_testbed_api_testbed_run_topologystar_LDADD = \ | ||
292 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
293 | libgnunettestbed.la | ||
294 | |||
295 | test_testbed_api_testbed_run_topologyclique_SOURCES = \ | ||
296 | test_testbed_api_testbed_run.c | ||
297 | test_testbed_api_testbed_run_topologyclique_LDADD = \ | ||
298 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
299 | libgnunettestbed.la | ||
300 | |||
301 | test_testbed_api_testbed_run_topologyring_SOURCES = \ | ||
302 | test_testbed_api_testbed_run.c | ||
303 | test_testbed_api_testbed_run_topologyring_LDADD = \ | ||
304 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
305 | libgnunettestbed.la | ||
306 | |||
307 | test_testbed_api_testbed_run_topologysmallworldring_SOURCES = \ | ||
308 | test_testbed_api_testbed_run.c | ||
309 | test_testbed_api_testbed_run_topologysmallworldring_LDADD = \ | ||
310 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
311 | libgnunettestbed.la | ||
312 | |||
313 | test_testbed_api_testbed_run_topology2dtorus_SOURCES = \ | ||
314 | test_testbed_api_testbed_run.c | ||
315 | test_testbed_api_testbed_run_topology2dtorus_LDADD = \ | ||
316 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
317 | libgnunettestbed.la | ||
318 | |||
319 | test_testbed_api_testbed_run_topologysmallworld_SOURCES = \ | ||
320 | test_testbed_api_testbed_run.c | ||
321 | test_testbed_api_testbed_run_topologysmallworld_LDADD = \ | ||
322 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
323 | libgnunettestbed.la | ||
324 | |||
325 | test_testbed_api_testbed_run_topologyfromfile_SOURCES = \ | ||
326 | test_testbed_api_testbed_run.c | ||
327 | test_testbed_api_testbed_run_topologyfromfile_LDADD = \ | ||
328 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
329 | libgnunettestbed.la | ||
330 | |||
331 | test_testbed_api_testbed_run_topologyscalefree_SOURCES = \ | ||
332 | test_testbed_api_testbed_run.c | ||
333 | test_testbed_api_testbed_run_topologyscalefree_LDADD = \ | ||
334 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
335 | libgnunettestbed.la | ||
336 | |||
337 | test_testbed_api_testbed_run_waitforever_SOURCES = \ | ||
338 | test_testbed_api_testbed_run.c | ||
339 | test_testbed_api_testbed_run_waitforever_LDADD = \ | ||
340 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
341 | libgnunettestbed.la | ||
342 | |||
343 | test_testbed_api_statistics_SOURCES = \ | ||
344 | test_testbed_api_statistics.c | ||
345 | test_testbed_api_statistics_LDADD = \ | ||
346 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
347 | libgnunettestbed.la | ||
348 | |||
349 | test_testbed_api_peers_manage_services_SOURCES = \ | ||
350 | test_testbed_api_peers_manage_services.c | ||
351 | test_testbed_api_peers_manage_services_LDADD = \ | ||
352 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
353 | libgnunettestbed.la | ||
354 | |||
355 | test_testbed_api_peer_reconfiguration_SOURCES = \ | ||
356 | test_testbed_api_peer_reconfiguration.c | ||
357 | test_testbed_api_peer_reconfiguration_LDADD = \ | ||
358 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
359 | libgnunettestbed.la | ||
360 | |||
361 | test_testbed_api_barriers_SOURCES = \ | ||
362 | test_testbed_api_barriers.c \ | ||
363 | test_testbed_api_barriers.h | ||
364 | test_testbed_api_barriers_LDADD = \ | ||
365 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
366 | libgnunettestbed.la | ||
367 | |||
368 | gnunet_service_test_barriers_SOURCES = \ | ||
369 | gnunet-service-test-barriers.c \ | ||
370 | test_testbed_api_barriers.h | ||
371 | gnunet_service_test_barriers_LDADD = \ | ||
372 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
373 | libgnunettestbed.la | ||
374 | |||
375 | test_testbed_underlay_SOURCES = \ | ||
376 | test_testbed_underlay.c | ||
377 | test_testbed_underlay_LDADD = \ | ||
378 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
379 | libgnunettestbed.la | ||
380 | |||
381 | EXTRA_DIST = \ | ||
382 | test_testbed_api.conf \ | ||
383 | test_testbed_api_statistics.conf \ | ||
384 | test_testbed_api_test_timeout.conf \ | ||
385 | test_testbed_api_template.conf \ | ||
386 | test_testbed_api_testbed_run_topologyring.conf \ | ||
387 | test_testbed_api_testbed_run_topologystar.conf \ | ||
388 | test_testbed_api_testbed_run_topologyclique.conf \ | ||
389 | test_testbed_api_testbed_run_topologyline.conf \ | ||
390 | test_testbed_api_testbed_run_topologyrandom.conf \ | ||
391 | test_testbed_api_testbed_run_topologysmallworldring.conf \ | ||
392 | test_testbed_api_testbed_run_topology2dtorus.conf \ | ||
393 | test_testbed_api_testbed_run_topologysmallworld.conf \ | ||
394 | test_testbed_api_testbed_run_topologyfromfile.conf \ | ||
395 | test_testbed_api_testbed_run_topologyscalefree.conf \ | ||
396 | test_testbed_api_barriers.conf.in \ | ||
397 | overlay_topology.txt \ | ||
398 | sample_hosts.txt \ | ||
399 | sample.job \ | ||
400 | test_testbed_underlay.conf.in \ | ||
401 | test-underlay.sqlite | ||