1 abs_top_srcdir = @abs_top_srcdir@
2 abs_top_builddir = @abs_top_builddir@
9 run-with-tmp-session-bus.sh \
15 test-unusable-main-loop.py \
16 TestSuitePythonService.service.in \
17 tmp-session-bus.conf.in
19 # If you try to make this noinst, libtool helpfully gives us a static
20 # library, which doesn't work as a Python extension: so force the install
21 # target not to work here instead.
22 pyexec_LTLIBRARIES = dbus_py_test.la
25 @echo "Not installing anything from test/"
27 dbus_py_test_la_CPPFLAGS = -I$(top_srcdir)/include $(DBUS_CFLAGS) \
29 dbus_py_test_la_LDFLAGS = -module -avoid-version \
31 dbus_py_test_la_SOURCES = dbus_py_test.c \
32 $(top_srcdir)/include/dbus-python.h
34 TESTS_ENVIRONMENT = DBUS_TOP_SRCDIR="$(abs_top_srcdir)" \
35 DBUS_TOP_BUILDDIR="$(abs_top_builddir)" \
36 DBUS_PYTHON_VERSION='$(PACKAGE_VERSION)' \
37 PYTHONPATH="$(abs_top_builddir)/test/.libs:$(abs_top_srcdir):$(abs_top_srcdir)/test:$(abs_top_builddir)/_dbus_bindings/.libs:$(abs_top_builddir)/_dbus_glib_bindings/.libs" \
43 $(TESTS_ENVIRONMENT) $(PYTHON) $(top_srcdir)/test/cross-test-server.py
45 $(TESTS_ENVIRONMENT) $(PYTHON) $(top_srcdir)/test/cross-test-client.py
47 .PHONY: cross-test-compile cross-test-server cross-test-client