diff options
author | t3sserakt <t3ss@posteo.de> | 2021-08-17 19:57:12 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2021-08-17 19:57:12 +0200 |
commit | 32a8c505c1fa27bb43c4e7c8d288566d51417f56 (patch) | |
tree | 0328fe50b6a099b5020fe6d1e01cbd6b96ecd18a /src/testing/Makefile.am | |
parent | 1e063cd73452396778cf00127346b9b08a922317 (diff) | |
download | gnunet-32a8c505c1fa27bb43c4e7c8d288566d51417f56.tar.gz gnunet-32a8c505c1fa27bb43c4e7c8d288566d51417f56.zip |
- moved test code from testbed to testing
Diffstat (limited to 'src/testing/Makefile.am')
-rw-r--r-- | src/testing/Makefile.am | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am index 8b28e6e23..15469a310 100644 --- a/src/testing/Makefile.am +++ b/src/testing/Makefile.am | |||
@@ -11,10 +11,43 @@ pkgcfgdir= $(pkgdatadir)/config.d/ | |||
11 | dist_pkgcfg_DATA = \ | 11 | dist_pkgcfg_DATA = \ |
12 | testing.conf | 12 | testing.conf |
13 | 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 | |||
14 | lib_LTLIBRARIES = \ | 22 | lib_LTLIBRARIES = \ |
15 | libgnunettesting.la | 23 | libgnunettesting.la |
16 | 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 | |||
17 | libgnunettesting_la_SOURCES = \ | 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_netjail_start.c \ | ||
48 | testing_api_cmd_netjail_start_testsystem.c \ | ||
49 | testing_api_cmd_netjail_stop_testsystem.c \ | ||
50 | testing_api_cmd_netjail_stop.c \ | ||
18 | testing.c testing.h \ | 51 | testing.c testing.h \ |
19 | testing_api_cmd_system_create.c \ | 52 | testing_api_cmd_system_create.c \ |
20 | testing_api_cmd_batch.c \ | 53 | testing_api_cmd_batch.c \ |
@@ -56,6 +89,7 @@ list_keys_LDADD = \ | |||
56 | 89 | ||
57 | 90 | ||
58 | check_PROGRAMS = \ | 91 | check_PROGRAMS = \ |
92 | test_testing_api_cmd_netjail \ | ||
59 | test_testing_hello_world \ | 93 | test_testing_hello_world \ |
60 | test_testing_portreservation \ | 94 | test_testing_portreservation \ |
61 | test_testing_servicestartup \ | 95 | test_testing_servicestartup \ |
@@ -66,6 +100,7 @@ check_PROGRAMS = \ | |||
66 | if ENABLE_TEST_RUN | 100 | if ENABLE_TEST_RUN |
67 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | 101 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; |
68 | TESTS = \ | 102 | TESTS = \ |
103 | test_testing_api_cmd_netjail \ | ||
69 | test_testing_hello_world \ | 104 | test_testing_hello_world \ |
70 | test_testing_portreservation \ | 105 | test_testing_portreservation \ |
71 | test_testing_peerstartup \ | 106 | test_testing_peerstartup \ |
@@ -73,6 +108,12 @@ TESTS = \ | |||
73 | test_testing_servicestartup | 108 | test_testing_servicestartup |
74 | endif | 109 | endif |
75 | 110 | ||
111 | test_testing_api_cmd_netjail_SOURCES = \ | ||
112 | test_testing_api_cmd_netjail.c | ||
113 | test_testing_api_cmd_netjail_LDADD = \ | ||
114 | libgnunettesting.la \ | ||
115 | $(top_builddir)/src/util/libgnunetutil.la | ||
116 | |||
76 | test_testing_hello_world_SOURCES = \ | 117 | test_testing_hello_world_SOURCES = \ |
77 | test_testing_hello_world.c | 118 | test_testing_hello_world.c |
78 | test_testing_hello_world_LDADD = \ | 119 | test_testing_hello_world_LDADD = \ |