diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-02-26 10:58:00 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-02-26 10:58:00 +0000 |
commit | a87f456787c26f1387e37b404f5d1ce23ee17bd2 (patch) | |
tree | a5962ef4f4f71c7cd02e343b1f05a221f49a1ce6 /src/testing/Makefile.am | |
parent | eb98ca5b7a3d2377f2422d453b5b0fe445cf6329 (diff) | |
download | gnunet-a87f456787c26f1387e37b404f5d1ce23ee17bd2.tar.gz gnunet-a87f456787c26f1387e37b404f5d1ce23ee17bd2.zip |
add support for multi topology testing to makefile (all work for me, but only clique is currently a testcase)
Diffstat (limited to 'src/testing/Makefile.am')
-rw-r--r-- | src/testing/Makefile.am | 64 |
1 files changed, 60 insertions, 4 deletions
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am index 8b1dceb15..ebe777b0f 100644 --- a/src/testing/Makefile.am +++ b/src/testing/Makefile.am | |||
@@ -26,12 +26,24 @@ check_PROGRAMS = \ | |||
26 | test_testing_connect \ | 26 | test_testing_connect \ |
27 | test_testing_group \ | 27 | test_testing_group \ |
28 | test_testing_topology_clique | 28 | test_testing_topology_clique |
29 | 29 | # test_testing_topology_ring \ | |
30 | # test_testing_topology_2d_torus \ | ||
31 | # test_testing_topology_small_world_ring \ | ||
32 | # test_testing_topology_small_world_torus \ | ||
33 | # test_testing_topology_erdos_renyi \ | ||
34 | # test_testing_topology_internat | ||
35 | |||
30 | TESTS = \ | 36 | TESTS = \ |
31 | test_testing \ | 37 | test_testing \ |
32 | test_testing_connect \ | 38 | test_testing_connect \ |
33 | test_testing_group \ | 39 | test_testing_group \ |
34 | test_testing_topology_clique | 40 | test_testing_topology_clique |
41 | # test_testing_topology_ring \ | ||
42 | # test_testing_topology_2d_torus \ | ||
43 | # test_testing_topology_small_world_ring \ | ||
44 | # test_testing_topology_small_world_torus \ | ||
45 | # test_testing_topology_erdos_renyi \ | ||
46 | # test_testing_topology_internat | ||
35 | #$(check_PROGRAMS) | 47 | #$(check_PROGRAMS) |
36 | 48 | ||
37 | test_testing_SOURCES = \ | 49 | test_testing_SOURCES = \ |
@@ -53,13 +65,57 @@ test_testing_group_LDADD = \ | |||
53 | $(top_builddir)/src/util/libgnunetutil.la | 65 | $(top_builddir)/src/util/libgnunetutil.la |
54 | 66 | ||
55 | test_testing_topology_clique_SOURCES = \ | 67 | test_testing_topology_clique_SOURCES = \ |
56 | test_testing_topology_clique.c | 68 | test_testing_topology.c |
57 | test_testing_topology_clique_LDADD = \ | 69 | test_testing_topology_clique_LDADD = \ |
58 | $(top_builddir)/src/testing/libgnunettesting.la \ | 70 | $(top_builddir)/src/testing/libgnunettesting.la \ |
59 | $(top_builddir)/src/util/libgnunetutil.la | 71 | $(top_builddir)/src/util/libgnunetutil.la |
60 | 72 | ||
73 | #test_testing_topology_ring_SOURCES = \ | ||
74 | # test_testing_topology.c | ||
75 | #test_testing_topology_ring_LDADD = \ | ||
76 | # $(top_builddir)/src/testing/libgnunettesting.la \ | ||
77 | # $(top_builddir)/src/util/libgnunetutil.la | ||
78 | |||
79 | #test_testing_topology_2d_torus_SOURCES = \ | ||
80 | # test_testing_topology.c | ||
81 | #test_testing_topology_2d_torus_LDADD = \ | ||
82 | # $(top_builddir)/src/testing/libgnunettesting.la \ | ||
83 | # $(top_builddir)/src/util/libgnunetutil.la | ||
84 | |||
85 | #test_testing_topology_small_world_ring_SOURCES = \ | ||
86 | # test_testing_topology.c | ||
87 | #test_testing_topology_small_world_ring_LDADD = \ | ||
88 | # $(top_builddir)/src/testing/libgnunettesting.la \ | ||
89 | # $(top_builddir)/src/util/libgnunetutil.la | ||
90 | |||
91 | #test_testing_topology_small_world_torus_SOURCES = \ | ||
92 | # test_testing_topology.c | ||
93 | #test_testing_topology_small_world_torus_LDADD = \ | ||
94 | # $(top_builddir)/src/testing/libgnunettesting.la \ | ||
95 | # $(top_builddir)/src/util/libgnunetutil.la | ||
96 | |||
97 | #test_testing_topology_internat_SOURCES = \ | ||
98 | # test_testing_topology.c | ||
99 | #test_testing_topology_internat_LDADD = \ | ||
100 | # $(top_builddir)/src/testing/libgnunettesting.la \ | ||
101 | # $(top_builddir)/src/util/libgnunetutil.la | ||
102 | |||
103 | #test_testing_topology_erdos_renyi_SOURCES = \ | ||
104 | # test_testing_topology.c | ||
105 | #test_testing_topology_erdos_renyi_LDADD = \ | ||
106 | # $(top_builddir)/src/testing/libgnunettesting.la \ | ||
107 | # $(top_builddir)/src/util/libgnunetutil.la | ||
108 | |||
109 | |||
61 | EXTRA_DIST = \ | 110 | EXTRA_DIST = \ |
62 | test_testing_data.conf \ | 111 | test_testing_data.conf \ |
63 | test_testing_connect_peer1.conf \ | 112 | test_testing_connect_peer1.conf \ |
64 | test_testing_connect_peer2.conf \ | 113 | test_testing_connect_peer2.conf \ |
65 | test_testing_data_topology_clique.conf | 114 | test_testing_data_topology_clique.conf \ |
115 | test_testing_data_topology_ring.conf \ | ||
116 | test_testing_data_topology_2d_torus.conf \ | ||
117 | test_testing_data_topology_small_world_ring.conf \ | ||
118 | test_testing_data_topology_small_world_torus.conf \ | ||
119 | test_testing_data_topology_erdos_renyi.conf \ | ||
120 | test_testing_data_topology_internat.conf | ||
121 | |||