doc/tutorial.txt: @service and @method take dbus_interface=..., not interface=...
[dbus-python-phuang.git] / test / Makefile.am
blobef2d529864a7a4228ceec80187dcfc24b59a15d6
1 EXTRA_DIST = \
2              cross-test-client.py \
3              cross-test-server.py \
4              crosstest.py \
5              run-test.sh \
6              run-with-tmp-session-bus.sh \
7              test-client.py \
8              test-p2p.py \
9              test-service.py \
10              test-signals.py \
11              test-standalone.py \
12              test-unusable-main-loop.py \
13              TestSuitePythonService.service.in \
14              tmp-session-bus.conf.in
16 # If you try to make this noinst, libtool helpfully gives us a static
17 # library, which doesn't work as a Python extension: so force the install
18 # target not to work here instead.
19 pyexec_LTLIBRARIES = dbus_py_test.la
21 install:
22         @echo "Not installing anything from test/"
24 dbus_py_test_la_CPPFLAGS = -I$(top_srcdir)/include $(DBUS_CFLAGS) \
25                            $(PYTHON_INCLUDES)
26 dbus_py_test_la_LDFLAGS = -module -avoid-version \
27                           $(DBUS_LIBS)
28 dbus_py_test_la_SOURCES = dbus_py_test.c \
29                           $(top_srcdir)/include/dbus-python.h
31 PWD = `pwd`
32 TESTS_ENVIRONMENT = DBUS_TOP_SRCDIR="$(PWD)/$(top_srcdir)" \
33                     DBUS_TOP_BUILDDIR="$(PWD)/$(top_builddir)" \
34                     DBUS_PYTHON_VERSION='$(PACKAGE_VERSION)' \
35                     PYTHONPATH="$(PWD)/.libs:$(PWD)/$(top_srcdir):$(PWD)/$(top_srcdir)/test:$(PWD)/../_dbus_bindings/.libs:$(PWD)/../_dbus_glib_bindings/.libs" \
36                     PYTHON='$(PYTHON)'
38 TESTS = run-test.sh
40 cross-test-server:
41         $(TESTS_ENVIRONMENT) $(PYTHON) $(top_srcdir)/test/cross-test-server.py
42 cross-test-client:
43         $(TESTS_ENVIRONMENT) $(PYTHON) $(top_srcdir)/test/cross-test-client.py
45 .PHONY: cross-test-compile cross-test-server cross-test-client