diff options
Diffstat (limited to 'src/testing/Makefile.am')
-rw-r--r-- | src/testing/Makefile.am | 169 |
1 files changed, 0 insertions, 169 deletions
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am deleted file mode 100644 index efb22b279..000000000 --- a/src/testing/Makefile.am +++ /dev/null | |||
@@ -1,169 +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 | libexecdir= $(pkglibdir)/libexec/ | ||
10 | |||
11 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
12 | |||
13 | dist_pkgcfg_DATA = \ | ||
14 | testing.conf | ||
15 | |||
16 | libexec_PROGRAMS = \ | ||
17 | gnunet-cmds-helper | ||
18 | |||
19 | plugindir = $(libdir)/gnunet | ||
20 | |||
21 | plugin_LTLIBRARIES = \ | ||
22 | libgnunet_test_testing_plugin_testcmd.la | ||
23 | |||
24 | lib_LTLIBRARIES = \ | ||
25 | libgnunettesting.la | ||
26 | |||
27 | gnunet_cmds_helper_SOURCES = \ | ||
28 | gnunet-cmds-helper.c | ||
29 | gnunet_cmds_helper_LDADD = $(XLIB) \ | ||
30 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
31 | libgnunettesting.la \ | ||
32 | $(LTLIBINTL) $(Z_LIBS) | ||
33 | |||
34 | libgnunet_test_testing_plugin_testcmd_la_SOURCES = \ | ||
35 | test_testing_plugin_testcmd.c | ||
36 | libgnunet_test_testing_plugin_testcmd_la_LIBADD = \ | ||
37 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
38 | $(top_builddir)/src/arm/libgnunetarm.la \ | ||
39 | libgnunettesting.la \ | ||
40 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
41 | $(LTLIBINTL) | ||
42 | libgnunet_test_testing_plugin_testcmd_la_LDFLAGS = \ | ||
43 | $(GN_PLUGIN_LDFLAGS) | ||
44 | |||
45 | libgnunettesting_la_SOURCES = \ | ||
46 | testing_api_cmd_local_test_finished.c \ | ||
47 | testing_api_cmd_send_peer_ready.c \ | ||
48 | testing_api_cmd_block_until_all_peers_started.c \ | ||
49 | testing_api_cmd_block_until_external_trigger.c \ | ||
50 | testing_api_cmd_netjail_start.c \ | ||
51 | testing_api_cmd_netjail_start_v2.c \ | ||
52 | testing_api_cmd_netjail_start_testsystem.c \ | ||
53 | testing_api_cmd_netjail_start_testsystem_v2.c \ | ||
54 | testing_api_cmd_netjail_stop_testsystem.c \ | ||
55 | testing_api_cmd_netjail_stop_testsystem_v2.c \ | ||
56 | testing_api_cmd_netjail_stop.c \ | ||
57 | testing_api_cmd_netjail_stop_v2.c \ | ||
58 | testing.c testing.h \ | ||
59 | testing_api_cmd_system_create.c \ | ||
60 | testing_api_cmd_system_destroy.c \ | ||
61 | testing_api_cmd_batch.c \ | ||
62 | testing_api_cmd_hello_world.c \ | ||
63 | testing_api_cmd_hello_world_birth.c \ | ||
64 | testing_api_loop.c \ | ||
65 | testing_api_trait_cmd.c \ | ||
66 | testing_api_trait_process.c \ | ||
67 | testing_api_traits.c | ||
68 | libgnunettesting_la_LIBADD = \ | ||
69 | $(top_builddir)/src/arm/libgnunetarm.la \ | ||
70 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
71 | $(LTLIBINTL) | ||
72 | libgnunettesting_la_LDFLAGS = \ | ||
73 | $(GN_LIB_LDFLAGS) \ | ||
74 | -version-info 2:0:1 | ||
75 | |||
76 | bin_PROGRAMS = \ | ||
77 | gnunet-testing | ||
78 | |||
79 | noinst_PROGRAMS = \ | ||
80 | list-keys | ||
81 | |||
82 | gnunet_testing_SOURCES = \ | ||
83 | gnunet-testing.c | ||
84 | gnunet_testing_LDADD = \ | ||
85 | libgnunettesting.la \ | ||
86 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
87 | $(GN_LIBINTL) | ||
88 | |||
89 | list_keys_SOURCES = \ | ||
90 | list-keys.c | ||
91 | list_keys_LDADD = \ | ||
92 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
93 | $(GN_LIBINTL) | ||
94 | |||
95 | |||
96 | check_PROGRAMS = \ | ||
97 | test_testing_topology \ | ||
98 | test_testing_api_cmd_netjail \ | ||
99 | test_testing_hello_world \ | ||
100 | test_testing_portreservation \ | ||
101 | test_testing_servicestartup \ | ||
102 | test_testing_peerstartup \ | ||
103 | test_testing_peerstartup2 \ | ||
104 | test_testing_sharedservices | ||
105 | |||
106 | if ENABLE_TEST_RUN | ||
107 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
108 | TESTS = \ | ||
109 | test_testing_topology \ | ||
110 | test_testing_api_cmd_netjail \ | ||
111 | test_testing_hello_world \ | ||
112 | test_testing_portreservation \ | ||
113 | test_testing_peerstartup \ | ||
114 | test_testing_peerstartup2 \ | ||
115 | test_testing_servicestartup | ||
116 | endif | ||
117 | |||
118 | test_testing_topology_SOURCES = \ | ||
119 | test_testing_topology.c | ||
120 | test_testing_topology_LDADD = \ | ||
121 | libgnunettesting.la \ | ||
122 | $(top_builddir)/src/util/libgnunetutil.la | ||
123 | |||
124 | test_testing_api_cmd_netjail_SOURCES = \ | ||
125 | test_testing_api_cmd_netjail.c | ||
126 | test_testing_api_cmd_netjail_LDADD = \ | ||
127 | libgnunettesting.la \ | ||
128 | $(top_builddir)/src/util/libgnunetutil.la | ||
129 | |||
130 | test_testing_hello_world_SOURCES = \ | ||
131 | test_testing_hello_world.c | ||
132 | test_testing_hello_world_LDADD = \ | ||
133 | libgnunettesting.la \ | ||
134 | $(top_builddir)/src/util/libgnunetutil.la | ||
135 | |||
136 | test_testing_portreservation_SOURCES = \ | ||
137 | test_testing_portreservation.c | ||
138 | test_testing_portreservation_LDADD = \ | ||
139 | libgnunettesting.la \ | ||
140 | $(top_builddir)/src/util/libgnunetutil.la | ||
141 | |||
142 | test_testing_peerstartup_SOURCES = \ | ||
143 | test_testing_peerstartup.c | ||
144 | test_testing_peerstartup_LDADD = \ | ||
145 | libgnunettesting.la \ | ||
146 | $(top_builddir)/src/util/libgnunetutil.la | ||
147 | |||
148 | test_testing_peerstartup2_SOURCES = \ | ||
149 | test_testing_peerstartup2.c | ||
150 | test_testing_peerstartup2_LDADD = \ | ||
151 | libgnunettesting.la \ | ||
152 | $(top_builddir)/src/util/libgnunetutil.la | ||
153 | |||
154 | test_testing_servicestartup_SOURCES = \ | ||
155 | test_testing_servicestartup.c | ||
156 | test_testing_servicestartup_LDADD = \ | ||
157 | libgnunettesting.la \ | ||
158 | $(top_builddir)/src/util/libgnunetutil.la | ||
159 | |||
160 | test_testing_sharedservices_SOURCES = \ | ||
161 | test_testing_sharedservices.c | ||
162 | test_testing_sharedservices_LDADD = \ | ||
163 | libgnunettesting.la \ | ||
164 | $(top_builddir)/src/util/libgnunetutil.la | ||
165 | |||
166 | EXTRA_DIST = \ | ||
167 | test_testing_defaults.conf \ | ||
168 | test_testing_sharedservices.conf \ | ||
169 | testing_cmds.h | ||