diff options
Diffstat (limited to 'src/testing_old/Makefile.am')
-rw-r--r-- | src/testing_old/Makefile.am | 283 |
1 files changed, 283 insertions, 0 deletions
diff --git a/src/testing_old/Makefile.am b/src/testing_old/Makefile.am new file mode 100644 index 000000000..298483189 --- /dev/null +++ b/src/testing_old/Makefile.am | |||
@@ -0,0 +1,283 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | if MINGW | ||
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
5 | endif | ||
6 | |||
7 | if USE_COVERAGE | ||
8 | AM_CFLAGS = --coverage -O0 | ||
9 | XLIB = -lgcov | ||
10 | endif | ||
11 | |||
12 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
13 | |||
14 | dist_pkgcfg_DATA = \ | ||
15 | testing_old.conf | ||
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 = \ | ||
37 | libgnunettestingold.la | ||
38 | |||
39 | libgnunettestingold_la_SOURCES = \ | ||
40 | helper.c \ | ||
41 | testing.c \ | ||
42 | testing_group.c \ | ||
43 | testing_peergroup.c | ||
44 | libgnunettestingold_la_LIBADD = $(XLIB) \ | ||
45 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
46 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
47 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
48 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
49 | -lm \ | ||
50 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
51 | $(LTLIBINTL) | ||
52 | libgnunettestingold_la_LDFLAGS = \ | ||
53 | $(GN_LIB_LDFLAGS) \ | ||
54 | -version-info 0:1:0 | ||
55 | |||
56 | |||
57 | bin_PROGRAMS = \ | ||
58 | gnunet-testing | ||
59 | |||
60 | check_PROGRAMS = \ | ||
61 | test_testing \ | ||
62 | test_testing_connect \ | ||
63 | test_testing_reconnect \ | ||
64 | test_testing_group \ | ||
65 | test_testing_peergroup \ | ||
66 | test_testing_topology_stability \ | ||
67 | test_testing_topology_clique \ | ||
68 | test_testing_topology_clique_random \ | ||
69 | test_testing_topology_clique_minimum \ | ||
70 | test_testing_topology_clique_dfs \ | ||
71 | test_testing_topology_churn \ | ||
72 | test_testing_topology_line \ | ||
73 | test_testing_topology_blacklist \ | ||
74 | test_testing_group_remote \ | ||
75 | test_testing_2dtorus \ | ||
76 | test_testing_topology_ring \ | ||
77 | test_testing_topology_2d_torus \ | ||
78 | test_testing_topology_small_world_ring \ | ||
79 | test_testing_topology_small_world_torus \ | ||
80 | test_testing_topology_erdos_renyi \ | ||
81 | test_testing_topology_internat \ | ||
82 | test_testing_topology_none \ | ||
83 | test_testing_topology_scale_free | ||
84 | |||
85 | if ENABLE_TEST_RUN | ||
86 | TESTS = \ | ||
87 | test_testing \ | ||
88 | test_testing_connect \ | ||
89 | test_testing_reconnect \ | ||
90 | test_testing_group \ | ||
91 | test_testing_peergroup \ | ||
92 | test_testing_new_portreservation \ | ||
93 | test_testing_new_peerstartup \ | ||
94 | test_testing_new_servicestartup | ||
95 | endif | ||
96 | |||
97 | gnunet_testing_SOURCES = \ | ||
98 | gnunet-testing.c | ||
99 | gnunet_testing_LDADD = \ | ||
100 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
101 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
102 | $(GN_LIBINTL) | ||
103 | gnunet_testing_DEPENDENCIES = \ | ||
104 | libgnunettestingold.la | ||
105 | |||
106 | |||
107 | test_testing_SOURCES = \ | ||
108 | test_testing.c | ||
109 | test_testing_LDADD = \ | ||
110 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
111 | $(top_builddir)/src/util/libgnunetutil.la | ||
112 | |||
113 | test_testing_connect_SOURCES = \ | ||
114 | test_testing_connect.c | ||
115 | test_testing_connect_LDADD = \ | ||
116 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
117 | $(top_builddir)/src/util/libgnunetutil.la | ||
118 | |||
119 | test_testing_reconnect_SOURCES = \ | ||
120 | test_testing_reconnect.c | ||
121 | test_testing_reconnect_LDADD = \ | ||
122 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
123 | $(top_builddir)/src/util/libgnunetutil.la | ||
124 | |||
125 | test_testing_group_SOURCES = \ | ||
126 | test_testing_group.c | ||
127 | test_testing_group_LDADD = \ | ||
128 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
129 | $(top_builddir)/src/util/libgnunetutil.la | ||
130 | |||
131 | test_testing_peergroup_SOURCES = \ | ||
132 | test_testing_peergroup.c | ||
133 | test_testing_peergroup_LDADD = \ | ||
134 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
135 | $(top_builddir)/src/util/libgnunetutil.la | ||
136 | |||
137 | test_testing_topology_clique_SOURCES = \ | ||
138 | test_testing_topology.c | ||
139 | test_testing_topology_clique_LDADD = \ | ||
140 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
141 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
142 | $(top_builddir)/src/util/libgnunetutil.la | ||
143 | |||
144 | test_testing_topology_stability_SOURCES = \ | ||
145 | test_testing_topology.c | ||
146 | test_testing_topology_stability_LDADD = \ | ||
147 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
148 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
149 | $(top_builddir)/src/util/libgnunetutil.la | ||
150 | |||
151 | test_testing_topology_blacklist_SOURCES = \ | ||
152 | test_testing_topology_blacklist.c | ||
153 | test_testing_topology_blacklist_LDADD = \ | ||
154 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
155 | $(top_builddir)/src/util/libgnunetutil.la | ||
156 | |||
157 | test_testing_topology_churn_SOURCES = \ | ||
158 | test_testing_topology_churn.c | ||
159 | test_testing_topology_churn_LDADD = \ | ||
160 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
161 | $(top_builddir)/src/util/libgnunetutil.la | ||
162 | |||
163 | test_testing_topology_clique_random_SOURCES = \ | ||
164 | test_testing_topology.c | ||
165 | test_testing_topology_clique_random_LDADD = \ | ||
166 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
167 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
168 | $(top_builddir)/src/util/libgnunetutil.la | ||
169 | |||
170 | test_testing_topology_clique_minimum_SOURCES = \ | ||
171 | test_testing_topology.c | ||
172 | test_testing_topology_clique_minimum_LDADD = \ | ||
173 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
174 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
175 | $(top_builddir)/src/util/libgnunetutil.la | ||
176 | |||
177 | test_testing_topology_clique_dfs_SOURCES = \ | ||
178 | test_testing_topology.c | ||
179 | test_testing_topology_clique_dfs_LDADD = \ | ||
180 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
181 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
182 | $(top_builddir)/src/util/libgnunetutil.la | ||
183 | |||
184 | test_testing_topology_line_SOURCES = \ | ||
185 | test_testing_topology.c | ||
186 | test_testing_topology_line_LDADD = \ | ||
187 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
188 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
189 | $(top_builddir)/src/util/libgnunetutil.la | ||
190 | |||
191 | |||
192 | test_testing_group_remote_SOURCES = \ | ||
193 | test_testing_group_remote.c | ||
194 | test_testing_group_remote_LDADD = \ | ||
195 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
196 | $(top_builddir)/src/util/libgnunetutil.la | ||
197 | |||
198 | test_testing_2dtorus_SOURCES = \ | ||
199 | test_testing_2dtorus.c | ||
200 | test_testing_2dtorus_LDADD = \ | ||
201 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
202 | $(top_builddir)/src/util/libgnunetutil.la | ||
203 | |||
204 | test_testing_topology_ring_SOURCES = \ | ||
205 | test_testing_topology.c | ||
206 | test_testing_topology_ring_LDADD = \ | ||
207 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
208 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
209 | $(top_builddir)/src/util/libgnunetutil.la | ||
210 | |||
211 | test_testing_topology_2d_torus_SOURCES = \ | ||
212 | test_testing_topology.c | ||
213 | test_testing_topology_2d_torus_LDADD = \ | ||
214 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
215 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
216 | $(top_builddir)/src/util/libgnunetutil.la | ||
217 | |||
218 | test_testing_topology_small_world_ring_SOURCES = \ | ||
219 | test_testing_topology.c | ||
220 | test_testing_topology_small_world_ring_LDADD = \ | ||
221 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
222 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
223 | $(top_builddir)/src/util/libgnunetutil.la | ||
224 | |||
225 | test_testing_topology_small_world_torus_SOURCES = \ | ||
226 | test_testing_topology.c | ||
227 | test_testing_topology_small_world_torus_LDADD = \ | ||
228 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
229 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
230 | $(top_builddir)/src/util/libgnunetutil.la | ||
231 | |||
232 | test_testing_topology_internat_SOURCES = \ | ||
233 | test_testing_topology.c | ||
234 | test_testing_topology_internat_LDADD = \ | ||
235 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
236 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
237 | $(top_builddir)/src/util/libgnunetutil.la | ||
238 | |||
239 | test_testing_topology_erdos_renyi_SOURCES = \ | ||
240 | test_testing_topology.c | ||
241 | test_testing_topology_erdos_renyi_LDADD = \ | ||
242 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
243 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
244 | $(top_builddir)/src/util/libgnunetutil.la | ||
245 | |||
246 | test_testing_topology_scale_free_SOURCES = \ | ||
247 | test_testing_topology.c | ||
248 | test_testing_topology_scale_free_LDADD = \ | ||
249 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
250 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
251 | $(top_builddir)/src/util/libgnunetutil.la | ||
252 | |||
253 | test_testing_topology_none_SOURCES = \ | ||
254 | test_testing_topology.c | ||
255 | test_testing_topology_none_LDADD = \ | ||
256 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
257 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
258 | $(top_builddir)/src/util/libgnunetutil.la | ||
259 | |||
260 | |||
261 | EXTRA_DIST = \ | ||
262 | test_testing_defaults.conf \ | ||
263 | test_testing_data.conf \ | ||
264 | test_testing_connect_peer1.conf \ | ||
265 | test_testing_connect_peer2.conf \ | ||
266 | test_testing_2dtorus.conf \ | ||
267 | test_testing_data_topology_clique.conf \ | ||
268 | test_testing_data_topology_clique_random.conf \ | ||
269 | test_testing_data_topology_clique_minimum.conf \ | ||
270 | test_testing_data_topology_clique_dfs.conf \ | ||
271 | test_testing_data_topology_ring.conf \ | ||
272 | test_testing_data_topology_2d_torus.conf \ | ||
273 | test_testing_data_topology_small_world_ring.conf \ | ||
274 | test_testing_data_topology_small_world_torus.conf \ | ||
275 | test_testing_data_topology_erdos_renyi.conf \ | ||
276 | test_testing_data_topology_internat.conf \ | ||
277 | test_testing_data_topology_scale_free.conf \ | ||
278 | test_testing_data_topology_blacklist.conf \ | ||
279 | test_testing_data_topology_churn.conf \ | ||
280 | test_testing_data_topology_none.conf \ | ||
281 | test_testing_data_remote.conf \ | ||
282 | test_testing_data_topology_stability.conf \ | ||
283 | test_testing_peergroup_data.conf | ||