blob: a78a99ff3f0381e727071e6635a6da7b81d5b3e6 (
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
TWISTED_TESTS =
TWISTED_BASIC_TESTS = \
cm/protocol.py \
$(NULL)
TWISTED_AVAHI_TESTS = \
caps_helper.py \
sidecars.py \
avahi/register.py \
avahi/aliases.py \
avahi/request-im.py \
avahi/muc-invite.py \
avahi/caps-file-transfer.py \
avahi/close-local-pending-room.py \
avahi/only-text-muc-when-needed.py \
avahi/tubes/disabled-1-1-tubes.py \
avahi/file-transfer/send-file-and-cancel-immediately.py \
avahi/file-transfer/send-file-and-disconnect.py \
avahi/file-transfer/send-file-declined.py \
avahi/file-transfer/send-file-item-not-found.py \
avahi/file-transfer/send-file-ipv6.py \
avahi/file-transfer/send-file-ipv4.py \
avahi/file-transfer/send-file-provide-immediately.py \
avahi/file-transfer/send-file-to-unknown-contact.py \
avahi/file-transfer/send-file-wait-to-provide.py \
avahi/file-transfer/receive-and-send-file.py \
avahi/file-transfer/receive-file.py \
avahi/file-transfer/receive-file-and-disconnect.py \
avahi/file-transfer/receive-file-and-sender-disconnect-while-pending.py \
avahi/file-transfer/receive-file-and-sender-disconnect-while-transfering.py \
avahi/file-transfer/receive-file-and-xmpp-disconnect.py \
avahi/file-transfer/receive-file-cancelled-immediately.py \
avahi/file-transfer/receive-file-decline.py \
avahi/file-transfer/receive-file-ipv6.py \
avahi/file-transfer/receive-file-ipv4.py \
avahi/file-transfer/receive-file-not-found.py \
avahi/file-transfer/metadata.py \
avahi/file-transfer/ft-client-caps.py \
avahi/caps-self.py \
avahi/caps-tubes.py \
avahi/text-channel.py \
avahi/ichat-composing.py \
avahi/ichat-incoming-msg.py \
avahi/file-transfer/ichat-receive-directory.py \
avahi/file-transfer/ichat-receive-file.py \
avahi/file-transfer/ichat-send-file.py \
avahi/file-transfer/ichat-send-file-declined.py \
avahi/tubes/request-invalid-dbus-tube.py \
avahi/request-muc.py \
avahi/tubes/request-muc-tubes.py \
avahi/roomlist.py \
avahi/set-presence.py \
avahi/tubes/offer-private-stream-tube.py \
avahi/tubes/two-muc-stream-tubes.py \
avahi/tubes/two-private-stream-tubes.py \
avahi/tubes/tube-close.py \
avahi/tubes/tubes-to-nonexistant-ids.py \
avahi/tubes/two-muc-dbus-tubes.py
TWISTED_AVAHI_OLPC_TESTS = \
avahi/olpc-activity-announcements.py
TESTS =
TESTS_ENVIRONMENT = \
PYTHONPATH=@abs_top_srcdir@/tests/twisted:@abs_top_builddir@/tests/twisted:$(PYTHONPATH)
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
rm -f tools/salut-testing.log
if ! test -n "$$SALUT_TEST_REAL_AVAHI"; then \
also_for_system="--also-for-system"; \
fi; \
sh $(srcdir)/tools/with-session-bus.sh $$also_for_system --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
if ENABLE_PLUGINS
PLUGINS_ENABLED_PYBOOL = True
else
PLUGINS_ENABLED_PYBOOL = False
endif
config.py: Makefile
$(AM_V_GEN) { \
echo "PACKAGE_STRING = \"$(PACKAGE_STRING)\""; \
echo "PLUGINS_ENABLED = $(PLUGINS_ENABLED_PYBOOL)"; \
} > $@
BUILT_SOURCES = config.py
EXTRA_DIST = \
$(TWISTED_AVAHI_TESTS) \
$(TWISTED_AVAHI_OLPC_TESTS) \
$(TWISTED_BASIC_TESTS) \
constants.py \
run-test.sh.in \
saluttest.py \
servicetest.py \
trivialstream.py \
avahitest.py \
avahimock.py \
config.py \
ns.py \
avahi/file-transfer/file_transfer_helper.py \
avahi/tubes/tubetestutil.py \
xmppstream.py \
ipv6.py
CLEANFILES = salut-[1-9]*.log *.pyc */*.pyc config.py
check_misc_sources = $(TESTS)
include $(top_srcdir)/tools/check-coding-style.mk
SUBDIRS = tools
|