diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-09 15:35:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-09 15:35:06 +0000 |
commit | e0033c1da56e1889775d7dccf92ea78ee52e4d5c (patch) | |
tree | 82a835de1f924de68dff5702d9e2b46b2f64ffdd /src/testing/Makefile.am | |
parent | 5e29c9683d2c0dfff71d2ead9ebb98d74a844bd5 (diff) | |
download | gnunet-e0033c1da56e1889775d7dccf92ea78ee52e4d5c.tar.gz gnunet-e0033c1da56e1889775d7dccf92ea78ee52e4d5c.zip |
-moving old testing code to legacy location
Diffstat (limited to 'src/testing/Makefile.am')
-rw-r--r-- | src/testing/Makefile.am | 267 |
1 files changed, 6 insertions, 261 deletions
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am index 455df6989..dcefc34d1 100644 --- a/src/testing/Makefile.am +++ b/src/testing/Makefile.am | |||
@@ -14,301 +14,46 @@ pkgcfgdir= $(pkgdatadir)/config.d/ | |||
14 | dist_pkgcfg_DATA = \ | 14 | dist_pkgcfg_DATA = \ |
15 | testing.conf | 15 | testing.conf |
16 | 16 | ||
17 | if HAVE_EXPENSIVE_TESTS | ||
18 | EXPENSIVE_TESTS = \ | ||
19 | test_testing_topology_stability \ | ||
20 | test_testing_topology_clique_random \ | ||
21 | test_testing_topology_clique_minimum \ | ||
22 | test_testing_topology_clique_dfs \ | ||
23 | test_testing_topology_churn \ | ||
24 | test_testing_topology_line \ | ||
25 | test_testing_topology_blacklist \ | ||
26 | test_testing_group_remote \ | ||
27 | test_testing_topology_ring \ | ||
28 | test_testing_topology_2d_torus \ | ||
29 | test_testing_topology_small_world_ring \ | ||
30 | test_testing_topology_small_world_torus \ | ||
31 | test_testing_topology_erdos_renyi \ | ||
32 | test_testing_topology_internat \ | ||
33 | test_testing_topology_scale_free | ||
34 | endif | ||
35 | |||
36 | lib_LTLIBRARIES = \ | 17 | lib_LTLIBRARIES = \ |
37 | libgnunettesting.la \ | 18 | libgnunettesting.la |
38 | libgnunettesting_new.la | ||
39 | 19 | ||
40 | libgnunettesting_la_SOURCES = \ | 20 | libgnunettesting_la_SOURCES = \ |
41 | helper.c \ | ||
42 | testing.c \ | ||
43 | testing_group.c \ | ||
44 | testing_peergroup.c | ||
45 | libgnunettesting_la_LIBADD = $(XLIB) \ | ||
46 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
47 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
48 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
49 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
50 | -lm \ | ||
51 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
52 | $(LTLIBINTL) | ||
53 | libgnunettesting_la_LDFLAGS = \ | ||
54 | $(GN_LIB_LDFLAGS) \ | ||
55 | -version-info 0:1:0 | ||
56 | |||
57 | |||
58 | libgnunettesting_new_la_SOURCES = \ | ||
59 | testing_new.c | 21 | testing_new.c |
60 | libgnunettesting_new_la_LIBADD = \ | 22 | libgnunettesting_la_LIBADD = \ |
61 | $(top_builddir)/src/util/libgnunetutil.la \ | 23 | $(top_builddir)/src/util/libgnunetutil.la \ |
62 | $(LTLIBINTL) | 24 | $(LTLIBINTL) |
63 | libgnunettesting_new_la_LDFLAGS = \ | 25 | libgnunettesting_la_LDFLAGS = \ |
64 | $(GN_LIB_LDFLAGS) \ | 26 | $(GN_LIB_LDFLAGS) \ |
65 | -version-info 0:1:0 | 27 | -version-info 0:1:0 |
66 | 28 | ||
67 | 29 | ||
68 | bin_PROGRAMS = \ | ||
69 | gnunet-testing | ||
70 | |||
71 | check_PROGRAMS = \ | 30 | check_PROGRAMS = \ |
72 | test_testing \ | ||
73 | test_testing_connect \ | ||
74 | test_testing_reconnect \ | ||
75 | test_testing_group \ | ||
76 | test_testing_peergroup \ | ||
77 | test_testing_topology_stability \ | ||
78 | test_testing_topology_clique \ | ||
79 | test_testing_topology_clique_random \ | ||
80 | test_testing_topology_clique_minimum \ | ||
81 | test_testing_topology_clique_dfs \ | ||
82 | test_testing_topology_churn \ | ||
83 | test_testing_topology_line \ | ||
84 | test_testing_topology_blacklist \ | ||
85 | test_testing_group_remote \ | ||
86 | test_testing_2dtorus \ | ||
87 | test_testing_topology_ring \ | ||
88 | test_testing_topology_2d_torus \ | ||
89 | test_testing_topology_small_world_ring \ | ||
90 | test_testing_topology_small_world_torus \ | ||
91 | test_testing_topology_erdos_renyi \ | ||
92 | test_testing_topology_internat \ | ||
93 | test_testing_topology_none \ | ||
94 | test_testing_topology_scale_free \ | ||
95 | test_testing_new_portreservation \ | 31 | test_testing_new_portreservation \ |
96 | test_testing_new_peerstartup \ | 32 | test_testing_new_peerstartup \ |
97 | test_testing_new_servicestartup | 33 | test_testing_new_servicestartup |
98 | 34 | ||
99 | if ENABLE_TEST_RUN | 35 | if ENABLE_TEST_RUN |
100 | TESTS = \ | 36 | TESTS = \ |
101 | test_testing \ | ||
102 | test_testing_connect \ | ||
103 | test_testing_reconnect \ | ||
104 | test_testing_group \ | ||
105 | test_testing_peergroup \ | ||
106 | test_testing_new_portreservation \ | 37 | test_testing_new_portreservation \ |
107 | test_testing_new_peerstartup \ | 38 | test_testing_new_peerstartup \ |
108 | test_testing_new_servicestartup | 39 | test_testing_new_servicestartup |
109 | endif | 40 | endif |
110 | 41 | ||
111 | gnunet_testing_SOURCES = \ | ||
112 | gnunet-testing.c | ||
113 | gnunet_testing_LDADD = \ | ||
114 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
115 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
116 | $(GN_LIBINTL) | ||
117 | gnunet_testing_DEPENDENCIES = \ | ||
118 | libgnunettesting.la | ||
119 | |||
120 | |||
121 | test_testing_SOURCES = \ | ||
122 | test_testing.c | ||
123 | test_testing_LDADD = \ | ||
124 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
125 | $(top_builddir)/src/util/libgnunetutil.la | ||
126 | |||
127 | test_testing_connect_SOURCES = \ | ||
128 | test_testing_connect.c | ||
129 | test_testing_connect_LDADD = \ | ||
130 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
131 | $(top_builddir)/src/util/libgnunetutil.la | ||
132 | |||
133 | test_testing_reconnect_SOURCES = \ | ||
134 | test_testing_reconnect.c | ||
135 | test_testing_reconnect_LDADD = \ | ||
136 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
137 | $(top_builddir)/src/util/libgnunetutil.la | ||
138 | |||
139 | test_testing_group_SOURCES = \ | ||
140 | test_testing_group.c | ||
141 | test_testing_group_LDADD = \ | ||
142 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
143 | $(top_builddir)/src/util/libgnunetutil.la | ||
144 | |||
145 | test_testing_peergroup_SOURCES = \ | ||
146 | test_testing_peergroup.c | ||
147 | test_testing_peergroup_LDADD = \ | ||
148 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
149 | $(top_builddir)/src/util/libgnunetutil.la | ||
150 | |||
151 | test_testing_topology_clique_SOURCES = \ | ||
152 | test_testing_topology.c | ||
153 | test_testing_topology_clique_LDADD = \ | ||
154 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
155 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
156 | $(top_builddir)/src/util/libgnunetutil.la | ||
157 | |||
158 | test_testing_topology_stability_SOURCES = \ | ||
159 | test_testing_topology.c | ||
160 | test_testing_topology_stability_LDADD = \ | ||
161 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
162 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
163 | $(top_builddir)/src/util/libgnunetutil.la | ||
164 | |||
165 | test_testing_topology_blacklist_SOURCES = \ | ||
166 | test_testing_topology_blacklist.c | ||
167 | test_testing_topology_blacklist_LDADD = \ | ||
168 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
169 | $(top_builddir)/src/util/libgnunetutil.la | ||
170 | |||
171 | test_testing_topology_churn_SOURCES = \ | ||
172 | test_testing_topology_churn.c | ||
173 | test_testing_topology_churn_LDADD = \ | ||
174 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
175 | $(top_builddir)/src/util/libgnunetutil.la | ||
176 | |||
177 | test_testing_topology_clique_random_SOURCES = \ | ||
178 | test_testing_topology.c | ||
179 | test_testing_topology_clique_random_LDADD = \ | ||
180 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
181 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
182 | $(top_builddir)/src/util/libgnunetutil.la | ||
183 | |||
184 | test_testing_topology_clique_minimum_SOURCES = \ | ||
185 | test_testing_topology.c | ||
186 | test_testing_topology_clique_minimum_LDADD = \ | ||
187 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
188 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
189 | $(top_builddir)/src/util/libgnunetutil.la | ||
190 | |||
191 | test_testing_topology_clique_dfs_SOURCES = \ | ||
192 | test_testing_topology.c | ||
193 | test_testing_topology_clique_dfs_LDADD = \ | ||
194 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
195 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
196 | $(top_builddir)/src/util/libgnunetutil.la | ||
197 | |||
198 | test_testing_topology_line_SOURCES = \ | ||
199 | test_testing_topology.c | ||
200 | test_testing_topology_line_LDADD = \ | ||
201 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
202 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
203 | $(top_builddir)/src/util/libgnunetutil.la | ||
204 | |||
205 | |||
206 | test_testing_group_remote_SOURCES = \ | ||
207 | test_testing_group_remote.c | ||
208 | test_testing_group_remote_LDADD = \ | ||
209 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
210 | $(top_builddir)/src/util/libgnunetutil.la | ||
211 | |||
212 | test_testing_2dtorus_SOURCES = \ | ||
213 | test_testing_2dtorus.c | ||
214 | test_testing_2dtorus_LDADD = \ | ||
215 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
216 | $(top_builddir)/src/util/libgnunetutil.la | ||
217 | |||
218 | test_testing_topology_ring_SOURCES = \ | ||
219 | test_testing_topology.c | ||
220 | test_testing_topology_ring_LDADD = \ | ||
221 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
222 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
223 | $(top_builddir)/src/util/libgnunetutil.la | ||
224 | |||
225 | test_testing_topology_2d_torus_SOURCES = \ | ||
226 | test_testing_topology.c | ||
227 | test_testing_topology_2d_torus_LDADD = \ | ||
228 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
229 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
230 | $(top_builddir)/src/util/libgnunetutil.la | ||
231 | |||
232 | test_testing_topology_small_world_ring_SOURCES = \ | ||
233 | test_testing_topology.c | ||
234 | test_testing_topology_small_world_ring_LDADD = \ | ||
235 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
236 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
237 | $(top_builddir)/src/util/libgnunetutil.la | ||
238 | |||
239 | test_testing_topology_small_world_torus_SOURCES = \ | ||
240 | test_testing_topology.c | ||
241 | test_testing_topology_small_world_torus_LDADD = \ | ||
242 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
243 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
244 | $(top_builddir)/src/util/libgnunetutil.la | ||
245 | |||
246 | test_testing_topology_internat_SOURCES = \ | ||
247 | test_testing_topology.c | ||
248 | test_testing_topology_internat_LDADD = \ | ||
249 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
250 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
251 | $(top_builddir)/src/util/libgnunetutil.la | ||
252 | |||
253 | test_testing_topology_erdos_renyi_SOURCES = \ | ||
254 | test_testing_topology.c | ||
255 | test_testing_topology_erdos_renyi_LDADD = \ | ||
256 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
257 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
258 | $(top_builddir)/src/util/libgnunetutil.la | ||
259 | |||
260 | test_testing_topology_scale_free_SOURCES = \ | ||
261 | test_testing_topology.c | ||
262 | test_testing_topology_scale_free_LDADD = \ | ||
263 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
264 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
265 | $(top_builddir)/src/util/libgnunetutil.la | ||
266 | |||
267 | test_testing_topology_none_SOURCES = \ | ||
268 | test_testing_topology.c | ||
269 | test_testing_topology_none_LDADD = \ | ||
270 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
271 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
272 | $(top_builddir)/src/util/libgnunetutil.la | ||
273 | |||
274 | test_testing_new_portreservation_SOURCES = \ | 42 | test_testing_new_portreservation_SOURCES = \ |
275 | test_testing_new_portreservation.c | 43 | test_testing_new_portreservation.c |
276 | test_testing_new_portreservation_LDADD = \ | 44 | test_testing_new_portreservation_LDADD = \ |
277 | $(top_builddir)/src/testing/libgnunettesting_new.la \ | 45 | $(top_builddir)/src/testing/libgnunettesting.la \ |
278 | $(top_builddir)/src/util/libgnunetutil.la | 46 | $(top_builddir)/src/util/libgnunetutil.la |
279 | 47 | ||
280 | test_testing_new_peerstartup_SOURCES = \ | 48 | test_testing_new_peerstartup_SOURCES = \ |
281 | test_testing_new_peerstartup.c | 49 | test_testing_new_peerstartup.c |
282 | test_testing_new_peerstartup_LDADD = \ | 50 | test_testing_new_peerstartup_LDADD = \ |
283 | $(top_builddir)/src/testing/libgnunettesting_new.la \ | 51 | $(top_builddir)/src/testing/libgnunettesting.la \ |
284 | $(top_builddir)/src/util/libgnunetutil.la | 52 | $(top_builddir)/src/util/libgnunetutil.la |
285 | 53 | ||
286 | test_testing_new_servicestartup_SOURCES = \ | 54 | test_testing_new_servicestartup_SOURCES = \ |
287 | test_testing_new_servicestartup.c | 55 | test_testing_new_servicestartup.c |
288 | test_testing_new_servicestartup_LDADD = \ | 56 | test_testing_new_servicestartup_LDADD = \ |
289 | $(top_builddir)/src/testing/libgnunettesting_new.la \ | 57 | $(top_builddir)/src/testing/libgnunettesting.la \ |
290 | $(top_builddir)/src/util/libgnunetutil.la | 58 | $(top_builddir)/src/util/libgnunetutil.la |
291 | 59 | ||
292 | EXTRA_DIST = \ | ||
293 | test_testing_defaults.conf \ | ||
294 | test_testing_data.conf \ | ||
295 | test_testing_connect_peer1.conf \ | ||
296 | test_testing_connect_peer2.conf \ | ||
297 | test_testing_2dtorus.conf \ | ||
298 | test_testing_data_topology_clique.conf \ | ||
299 | test_testing_data_topology_clique_random.conf \ | ||
300 | test_testing_data_topology_clique_minimum.conf \ | ||
301 | test_testing_data_topology_clique_dfs.conf \ | ||
302 | test_testing_data_topology_ring.conf \ | ||
303 | test_testing_data_topology_2d_torus.conf \ | ||
304 | test_testing_data_topology_small_world_ring.conf \ | ||
305 | test_testing_data_topology_small_world_torus.conf \ | ||
306 | test_testing_data_topology_erdos_renyi.conf \ | ||
307 | test_testing_data_topology_internat.conf \ | ||
308 | test_testing_data_topology_scale_free.conf \ | ||
309 | test_testing_data_topology_blacklist.conf \ | ||
310 | test_testing_data_topology_churn.conf \ | ||
311 | test_testing_data_topology_none.conf \ | ||
312 | test_testing_data_remote.conf \ | ||
313 | test_testing_data_topology_stability.conf \ | ||
314 | test_testing_peergroup_data.conf | ||