diff options
Diffstat (limited to 'src/integration-tests/Makefile.am')
-rw-r--r-- | src/integration-tests/Makefile.am | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/src/integration-tests/Makefile.am b/src/integration-tests/Makefile.am deleted file mode 100644 index 33c6a3832..000000000 --- a/src/integration-tests/Makefile.am +++ /dev/null | |||
@@ -1,90 +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 | TESTS = \ | ||
27 | $(check_SCRIPTS) | ||
28 | endif | ||
29 | |||
30 | SUFFIXES = .py.in .py | ||
31 | .py.in.py: | ||
32 | $(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)/$< > $@ | ||
33 | chmod +x $@ | ||
34 | |||
35 | gnunet_testing.py: gnunet_testing.py.in Makefile | ||
36 | $(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 | ||
37 | chmod +x gnunet_testing.py | ||
38 | |||
39 | gnunet_pyexpect.py: gnunet_pyexpect.py.in Makefile | ||
40 | $(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 | ||
41 | chmod +x gnunet_pyexpect.py | ||
42 | |||
43 | test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile | ||
44 | $(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 | ||
45 | chmod +x test_integration_bootstrap_and_connect.py | ||
46 | |||
47 | test_integration_disconnect.py: test_integration_disconnect.py.in Makefile | ||
48 | $(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 | ||
49 | chmod +x test_integration_disconnect.py | ||
50 | |||
51 | test_integration_disconnect_nat.py: test_integration_disconnect_nat.py.in Makefile | ||
52 | $(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 | ||
53 | chmod +x test_integration_disconnect_nat.py | ||
54 | |||
55 | test_integration_reconnect.py: test_integration_reconnect.py.in Makefile | ||
56 | $(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 | ||
57 | chmod +x test_integration_reconnect.py | ||
58 | |||
59 | test_integration_reconnect_nat.py: test_integration_reconnect_nat.py.in Makefile | ||
60 | $(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 | ||
61 | chmod +x test_integration_reconnect_nat.py | ||
62 | |||
63 | test_integration_clique.py: test_integration_clique.py.in Makefile | ||
64 | $(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 | ||
65 | chmod +x test_integration_clique.py | ||
66 | |||
67 | |||
68 | EXTRA_DIST = \ | ||
69 | gnunet_testing.py.in \ | ||
70 | gnunet_pyexpect.py.in \ | ||
71 | test_integration_bootstrap_and_connect.py.in \ | ||
72 | test_integration_disconnect.py.in \ | ||
73 | test_integration_disconnect_nat.py.in \ | ||
74 | test_integration_reconnect.py.in \ | ||
75 | test_integration_reconnect_nat.py.in \ | ||
76 | test_integration_clique.py.in \ | ||
77 | confs/test_defaults.conf \ | ||
78 | confs/c_bootstrap_server.conf \ | ||
79 | confs/c_nat_client.conf \ | ||
80 | confs/c_no_nat_client_2.conf \ | ||
81 | confs/c_no_nat_client.conf \ | ||
82 | hostkeys/c_bootstrap_server \ | ||
83 | hostkeys/c_no_nat_client \ | ||
84 | hostkeys/c_no_nat_client_2 \ | ||
85 | hostkeys/c_nat_client | ||
86 | |||
87 | CLEANFILES = \ | ||
88 | $(check_SCRIPTS) \ | ||
89 | gnunet_pyexpect.py \ | ||
90 | gnunet_testing.py | ||