aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/Makefile.am
blob: a40fa76e6a6d262ff82f3e01acdfe9b4c1773782 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
INCLUDES = -I$(top_srcdir)/src/include

if MINGW
 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
endif

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif

bin_PROGRAMS =

check_PROGRAMS =


if HAVE_PYTHON_PEXPECT
check_SCRIPTS = \
 test_integration_bootstrap_and_connect.py \
 test_integration_disconnect.py \
 test_integration_clique.py
endif


if ENABLE_TEST_RUN
TESTS = \
 $(check_SCRIPTS)  
endif

do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'

test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile
	$(do_subst) < $(srcdir)/test_integration_bootstrap_and_connect.py.in > test_integration_bootstrap_and_connect.py
	chmod +x test_integration_bootstrap_and_connect.py

test_integration_disconnect.py: test_integration_disconnect.py.in Makefile
	$(do_subst) < $(srcdir)/test_integration_disconnect.py.in > test_integration_disconnect.py
	chmod +x test_integration_disconnect.py
	
test_integration_clique.py: test_integration_clique.py.in Makefile
	$(do_subst) < $(srcdir)/test_integration_clique.py.in > test_integration_clique.py
	chmod +x test_integration_clique.py	

EXTRA_DIST = \
   test_integration_bootstrap_and_connect.py.in \
   test_integration_disconnect.py.in \ 
   test_integration_clique.py.in


CLEANFILES = $(check_SCRIPTS)