diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-12-15 15:56:05 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-12-15 15:56:05 +0000 |
commit | 9af43c04be4bb3df805b07e42e04e4a5e70453d8 (patch) | |
tree | 5926644aed92f25d9b8e172b3abb6b9d9bc2d05a /src/integration-tests/Makefile.am | |
parent | ecc60a21d15be5359d05e5c113183e981d1e1715 (diff) | |
download | gnunet-9af43c04be4bb3df805b07e42e04e4a5e70453d8.tar.gz gnunet-9af43c04be4bb3df805b07e42e04e4a5e70453d8.zip |
improved test framework
Diffstat (limited to 'src/integration-tests/Makefile.am')
-rw-r--r-- | src/integration-tests/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/integration-tests/Makefile.am b/src/integration-tests/Makefile.am index a40fa76e6..e98ba3242 100644 --- a/src/integration-tests/Makefile.am +++ b/src/integration-tests/Makefile.am | |||
@@ -13,6 +13,8 @@ bin_PROGRAMS = | |||
13 | 13 | ||
14 | check_PROGRAMS = | 14 | check_PROGRAMS = |
15 | 15 | ||
16 | noinst_SCRIPTS = \ | ||
17 | gnunet_testing.py | ||
16 | 18 | ||
17 | if HAVE_PYTHON_PEXPECT | 19 | if HAVE_PYTHON_PEXPECT |
18 | check_SCRIPTS = \ | 20 | check_SCRIPTS = \ |
@@ -29,6 +31,10 @@ endif | |||
29 | 31 | ||
30 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | 32 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' |
31 | 33 | ||
34 | %.py: %.py.in Makefile | ||
35 | $(do_subst) < $(srcdir)/$< > $@ | ||
36 | chmod +x $@ | ||
37 | |||
32 | test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile | 38 | test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile |
33 | $(do_subst) < $(srcdir)/test_integration_bootstrap_and_connect.py.in > test_integration_bootstrap_and_connect.py | 39 | $(do_subst) < $(srcdir)/test_integration_bootstrap_and_connect.py.in > test_integration_bootstrap_and_connect.py |
34 | chmod +x test_integration_bootstrap_and_connect.py | 40 | chmod +x test_integration_bootstrap_and_connect.py |
@@ -42,9 +48,11 @@ test_integration_clique.py: test_integration_clique.py.in Makefile | |||
42 | chmod +x test_integration_clique.py | 48 | chmod +x test_integration_clique.py |
43 | 49 | ||
44 | EXTRA_DIST = \ | 50 | EXTRA_DIST = \ |
51 | gnunet_testing.py.in \ | ||
45 | test_integration_bootstrap_and_connect.py.in \ | 52 | test_integration_bootstrap_and_connect.py.in \ |
46 | test_integration_disconnect.py.in \ | 53 | test_integration_disconnect.py.in \ |
47 | test_integration_clique.py.in | 54 | test_integration_clique.py.in |
48 | 55 | ||
49 | 56 | CLEANFILES = \ | |
50 | CLEANFILES = $(check_SCRIPTS) | 57 | $(check_SCRIPTS) \ |
58 | gnunet_testing.py | ||