blob: 74645c29524b1ec7e091e26200a0a1643dc347b7 (
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
62
63
64
65
|
NULL =
TWISTED_TESTS = \
cm/protocol.py \
test-register.py \
test-register-fail.py \
test-register-sasl.py \
test-debug.py \
test-handle-normalisation.py \
test-message.py \
test-self-alias.py \
text/initiate-requestotron.py \
voip/incoming-basics.py \
voip/outgoing-basics.py \
voip/dtmf.py \
$(NULL)
TESTS =
TESTS_ENVIRONMENT = \
PYTHONPATH=@abs_top_srcdir@/tests/twisted::@abs_top_builddir@/tests/twisted
check-local: check-coding-style check-twisted
CHECK_TWISTED_SLEEP=0
check-twisted:
$(MAKE) -C tools
rm -f tools/rakia-testing.log
sh $(srcdir)/tools/with-session-bus.sh \
--config-file=tools/tmp-session-bus.conf \
--sleep=$(CHECK_TWISTED_SLEEP) \
-- $(MAKE) check-TESTS \
TESTS="$(TWISTED_TESTS)" \
TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) $(PYTHON)" 2>&1 | \
fgrep -v -e DeprecationWarning -e DigestAuthorizer
if ENABLE_DEBUG
DEBUGGING_PYBOOL = True
else
DEBUGGING_PYBOOL = False
endif
config.py: Makefile
$(AM_V_GEN) { \
echo "PACKAGE_STRING = \"$(PACKAGE_STRING)\""; \
echo "DEBUGGING = $(DEBUGGING_PYBOOL)"; \
} > $@
BUILT_SOURCES = config.py
EXTRA_DIST = \
$(TWISTED_TESTS) \
constants.py \
sofiatest.py \
servicetest.py \
voip/voip_test.py
CLEANFILES = rakia-[1-9]*.log *.pyc */*.pyc config.py
check_misc_sources = $(TESTS)
include $(top_srcdir)/tools/check-coding-style.mk
SUBDIRS = tools
|