summaryrefslogtreecommitdiff
path: root/tests/twisted/Makefile.am
blob: 3777c899a852292e17478ee6e4b8b7fa04bcf25b (plain)
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
51
52
53
54
55
56
57
58
59
60
61
TWISTED_TESTS = \
	avatar-requirements.py \
	simple-caps.py \
	cm/protocols.py \
	connect/fail.py \
	connect/success.py \
	connect/twice-to-same-account.py \
	presence/presence.py \
	roster/initial-roster.py \
	roster/groups.py \
	roster/publish.py \
	roster/removed-from-rp-subscribe.py \
	roster/subscribe.py \
	sasl/telepathy-password.py \
	text/destroy.py \
	text/ensure.py \
	text/initiate-requestotron.py \
	text/initiate.py \
	text/respawn.py \
	text/test-text-delayed.py \
	text/test-text-no-body.py \
	text/test-text.py


TESTS =

TESTS_ENVIRONMENT = \
	PYTHONPATH=@abs_top_srcdir@/tests/twisted:@abs_top_builddir@/tests/twisted

check-local: check-twisted

check-twisted:
	rm -f ../haze-testing.log
	sh $(top_srcdir)/tools/with-session-bus.sh \
		--config-file=$(top_builddir)/tests/tmp-session-bus.conf \
		-- $(MAKE) check-TESTS \
			TESTS="$(TWISTED_TESTS)" \
			TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) $(TEST_PYTHON)"

EXTRA_DIST = \
	$(TWISTED_TESTS) \
	constants.py \
	hazetest.py \
	sasl/saslutil.py \
	servicetest.py \
	ns.py

if MEDIA_ENABLED
MEDIA_ENABLED_PYBOOL = True
else
MEDIA_ENABLED_PYBOOL = False
endif

config.py: Makefile
	$(AM_V_GEN) { \
		echo "MEDIA_ENABLED = $(MEDIA_ENABLED_PYBOOL)"; \
	} > $@

BUILT_SOURCES = config.py

CLEANFILES = *.pyc */*.pyc config.py