Set released flag back to 0
[dbus-python-phuang.git] / test / Makefile.am
blob58e4da819fa83aac58b5f9b360e2489ad65b2d6f
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-service.py \
9              test-signals.py \
10              test-standalone.py \
11              test-unusable-main-loop.py \
12              TestSuitePythonService.service.in \
13              tmp-session-bus.conf.in
15 # If you try to make this noinst, libtool helpfully gives us a static
16 # library, which doesn't work as a Python extension: so force the install
17 # target not to work here instead.
18 pyexec_LTLIBRARIES = dbus_py_test.la
20 install:
21         @echo "Not installing anything from test/"
23 dbus_py_test_la_CPPFLAGS = -I$(top_srcdir)/include $(DBUS_CFLAGS) \
24                            $(PYTHON_INCLUDES)
25 dbus_py_test_la_LDFLAGS = -module -avoid-version \
26                           $(DBUS_LIBS)
27 dbus_py_test_la_SOURCES = dbus_py_test.c \
28                           $(top_srcdir)/include/dbus-python.h
30 PWD = `pwd`
31 TESTS_ENVIRONMENT = DBUS_TOP_SRCDIR="$(PWD)/$(top_srcdir)" \
32                     DBUS_TOP_BUILDDIR="$(PWD)/$(top_builddir)" \
33                     DBUS_PYTHON_VERSION='$(PACKAGE_VERSION)' \
34                     PYTHONPATH="$(PWD)/.libs:$(PWD)/$(top_srcdir):$(PWD)/$(top_srcdir)/test:$(PWD)/../_dbus_bindings/.libs:$(PWD)/../_dbus_glib_bindings/.libs" \
35                     PYTHON='$(PYTHON)'
37 TESTS = run-test.sh
39 cross-test-server:
40         $(TESTS_ENVIRONMENT) $(PYTHON) $(top_srcdir)/test/cross-test-server.py
41 cross-test-client:
42         $(TESTS_ENVIRONMENT) $(PYTHON) $(top_srcdir)/test/cross-test-client.py
44 .PHONY: cross-test-compile cross-test-server cross-test-client