diff options
Diffstat (limited to 'src/integration-tests/Makefile.am')
-rw-r--r-- | src/integration-tests/Makefile.am | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/src/integration-tests/Makefile.am b/src/integration-tests/Makefile.am deleted file mode 100644 index b3adc3a0f..000000000 --- a/src/integration-tests/Makefile.am +++ /dev/null | |||
@@ -1,97 +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 | noinst_SCRIPTS = \ | ||
10 | gnunet_testing.py \ | ||
11 | gnunet_pyexpect.py | ||
12 | |||
13 | if HAVE_PYTHON | ||
14 | check_SCRIPTS = \ | ||
15 | test_integration_bootstrap_and_connect.py \ | ||
16 | test_integration_disconnect.py \ | ||
17 | test_integration_disconnect_nat.py \ | ||
18 | test_integration_reconnect.py \ | ||
19 | test_integration_reconnect_nat.py | ||
20 | # test_integration_clique.py | ||
21 | endif | ||
22 | |||
23 | |||
24 | if ENABLE_TEST_RUN | ||
25 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
26 | if HAVE_LIBGNURL | ||
27 | TESTS = \ | ||
28 | $(check_SCRIPTS) | ||
29 | else | ||
30 | if HAVE_LIBCURL | ||
31 | TESTS = \ | ||
32 | $(check_SCRIPTS) | ||
33 | endif | ||
34 | endif | ||
35 | endif | ||
36 | |||
37 | SUFFIXES = .py.in .py | ||
38 | .py.in.py: | ||
39 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/$< > $@ | ||
40 | chmod +x $@ | ||
41 | |||
42 | gnunet_testing.py: gnunet_testing.py.in Makefile | ||
43 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/gnunet_testing.py.in > gnunet_testing.py | ||
44 | chmod +x gnunet_testing.py | ||
45 | |||
46 | gnunet_pyexpect.py: gnunet_pyexpect.py.in Makefile | ||
47 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/gnunet_pyexpect.py.in > gnunet_pyexpect.py | ||
48 | chmod +x gnunet_pyexpect.py | ||
49 | |||
50 | test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile | ||
51 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_integration_bootstrap_and_connect.py.in > test_integration_bootstrap_and_connect.py | ||
52 | chmod +x test_integration_bootstrap_and_connect.py | ||
53 | |||
54 | test_integration_disconnect.py: test_integration_disconnect.py.in Makefile | ||
55 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_integration_disconnect.py.in > test_integration_disconnect.py | ||
56 | chmod +x test_integration_disconnect.py | ||
57 | |||
58 | test_integration_disconnect_nat.py: test_integration_disconnect_nat.py.in Makefile | ||
59 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_integration_disconnect_nat.py.in > test_integration_disconnect_nat.py | ||
60 | chmod +x test_integration_disconnect_nat.py | ||
61 | |||
62 | test_integration_reconnect.py: test_integration_reconnect.py.in Makefile | ||
63 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_integration_reconnect.py.in > test_integration_reconnect.py | ||
64 | chmod +x test_integration_reconnect.py | ||
65 | |||
66 | test_integration_reconnect_nat.py: test_integration_reconnect_nat.py.in Makefile | ||
67 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_integration_reconnect_nat.py.in > test_integration_reconnect_nat.py | ||
68 | chmod +x test_integration_reconnect_nat.py | ||
69 | |||
70 | test_integration_clique.py: test_integration_clique.py.in Makefile | ||
71 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_integration_clique.py.in > test_integration_clique.py | ||
72 | chmod +x test_integration_clique.py | ||
73 | |||
74 | |||
75 | EXTRA_DIST = \ | ||
76 | gnunet_testing.py.in \ | ||
77 | gnunet_pyexpect.py.in \ | ||
78 | test_integration_bootstrap_and_connect.py.in \ | ||
79 | test_integration_disconnect.py.in \ | ||
80 | test_integration_disconnect_nat.py.in \ | ||
81 | test_integration_reconnect.py.in \ | ||
82 | test_integration_reconnect_nat.py.in \ | ||
83 | test_integration_clique.py.in \ | ||
84 | confs/test_defaults.conf \ | ||
85 | confs/c_bootstrap_server.conf \ | ||
86 | confs/c_nat_client.conf \ | ||
87 | confs/c_no_nat_client_2.conf \ | ||
88 | confs/c_no_nat_client.conf \ | ||
89 | hostkeys/c_bootstrap_server \ | ||
90 | hostkeys/c_no_nat_client \ | ||
91 | hostkeys/c_no_nat_client_2 \ | ||
92 | hostkeys/c_nat_client | ||
93 | |||
94 | CLEANFILES = \ | ||
95 | $(check_SCRIPTS) \ | ||
96 | gnunet_pyexpect.py \ | ||
97 | gnunet_testing.py | ||