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