disconnect test
[oweals/gnunet.git] / src / integration-tests / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = --coverage -O0
9   XLIB = -lgcov
10 endif
11
12 bin_PROGRAMS =
13
14 check_PROGRAMS =
15
16
17 if HAVE_PYTHON_PEXPECT
18 check_SCRIPTS = \
19  test_integration_bootstrap_and_connect.py \
20  test_integration_disconnect.py
21 endif
22
23
24 if ENABLE_TEST_RUN
25 TESTS = \
26  $(check_SCRIPTS)  
27 endif
28
29 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
30
31 test_integration_clique.py: test_integration_clique.py.in Makefile
32         $(do_subst) < $(srcdir)/test_integration_clique.py.in > test_integration_clique.py
33         chmod +x test_integration_clique.py
34
35 test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile
36         $(do_subst) < $(srcdir)/test_integration_bootstrap_and_connect.py.in > test_integration_bootstrap_and_connect.py
37         chmod +x test_integration_bootstrap_and_connect.py
38
39 test_integration_disconnect.py: test_integration_disconnect.py.in Makefile
40         $(do_subst) < $(srcdir)/test_integration_disconnect.py.in > test_integration_disconnect.py
41         chmod +x test_integration_disconnect.py
42
43
44 EXTRA_DIST = \
45    test_integration_bootstrap_and_connect.py.in \
46    test_integration_disconnect.py.in 
47 #  test_integration_clique.py.in
48
49
50 CLEANFILES = $(check_SCRIPTS)