blob: 2e72f3c9339d30b558018507c99840cefa34493a (
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
TWISTED_TESTS =
TWISTED_BASIC_TESTS =
TWISTED_AVAHI_TESTS = \
avahi/test-register.py \
avahi/test-aliases.py \
avahi/test-request-im.py \
avahi/test-muc-invite.py \
avahi/test-close-local-pending-room.py \
avahi/test-disabled-1-1-tubes.py \
avahi/test-send-file-and-cancel-immediately.py \
avahi/test-send-file-and-disconnect.py \
avahi/test-send-file-declined.py \
avahi/test-send-file-item-not-found.py \
avahi/test-send-file-provide-immediately.py \
avahi/test-send-file-to-unknown-contact.py \
avahi/test-send-file-wait-to-provide.py \
avahi/test-receive-and-send-file.py \
avahi/test-receive-file.py \
avahi/test-receive-file-and-disconnect.py \
avahi/test-receive-file-and-sender-disconnect-while-pending.py \
avahi/test-receive-file-and-sender-disconnect-while-transfering.py \
avahi/test-receive-file-and-xmpp-disconnect.py \
avahi/test-receive-file-cancelled-immediately.py \
avahi/test-receive-file-decline.py \
avahi/test-receive-file-not-found.py \
avahi/test-caps-self.py \
avahi/test-caps-tubes.py \
avahi/test-text-channel.py \
avahi/test-ichat-composing.py \
avahi/test-ichat-incoming-msg.py \
avahi/test-ichat-receive-directory.py \
avahi/test-ichat-receive-file.py \
avahi/test-ichat-send-file.py \
avahi/test-ichat-send-file-declined.py \
avahi/test-request-invalid-dbus-tube.py \
avahi/test-request-muc.py \
avahi/test-request-muc-tubes.py \
avahi/test-roomlist.py \
avahi/test-tube.py \
avahi/test-two-muc-stream-tubes.py \
avahi/test-two-tubes.py \
avahi/test-tube-close.py \
avahi/tubes-to-nonexistant-ids.py
TWISTED_AVAHI_OLPC_TESTS = \
avahi/test-olpc-activity-announcements.py
TESTS =
TESTS_ENVIRONMENT = \
PYTHONPATH=@abs_top_srcdir@/tests/twisted:@abs_top_builddir@/tests/twisted
if WANT_TWISTED_TESTS
TWISTED_TESTS += $(TWISTED_BASIC_TESTS)
endif
if ENABLE_OLPC
TWISTED_AVAHI_TESTS += $(TWISTED_AVAHI_OLPC_TESTS)
endif
if WANT_TWISTED_AVAHI_TESTS
TWISTED_TESTS += $(TWISTED_AVAHI_TESTS)
endif
check-local: check-coding-style check-twisted
check-twisted:
$(MAKE) -C tools
rm -f tools/core
sh $(srcdir)/tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf -- $(MAKE) check-TESTS \
TESTS="$(TWISTED_TESTS)" \
TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) $(TEST_PYTHON)"
@if test -e tools/core; then\
echo "Core dump exists: tools/core";\
exit 1;\
fi
EXTRA_DIST = \
$(TWISTED_AVAHI_TESTS) \
$(TWISTED_BASIC_TESTS) \
constants.py \
saluttest.py \
servicetest.py \
trivialstream.py \
avahi/file_transfer_helper.py
CLEANFILES = salut-[1-9]*.log *.pyc */*.pyc
check_misc_sources = $(TESTS)
include $(top_srcdir)/tools/check-coding-style.mk
SUBDIRS = tools
|