basics for integration tests
[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_clique.py
20 endif
21
22
23 if ENABLE_TEST_RUN
24 TESTS = \
25  $(check_SCRIPTS)  
26 endif
27
28 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
29
30 test_integration_clique.py: test_integration_clique.py.in Makefile
31         $(do_subst) < $(srcdir)/test_integration_clique.py.in > test_integration_clique.py
32         chmod +x test_integration_clique.py
33
34
35 EXTRA_DIST = \
36   test_integration_clique.py.in
37
38 CLEANFILES = $(check_SCRIPTS)