@@ -7,7 +7,17 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL=4
77export NO_PNG_PKG_MANGLE=1
88
99%:
10− dh $@ --parallel --fail-missing
10+ dh $@ --parallel --fail-missing --with python2
1111
1212override_dh_shlibdeps:
1313 dh_shlibdeps -XlibMockLightDM-qml.so
14+
15+override_dh_install:
16+ # install autopilot tests
17+ cd tests/autopilot; \
18+ set -ex; for python in $(shell pyversions -r); do \
19+ $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
20+ done; \
21+ cd $(CURDIR)
22+ dh_install -X'*.pyc' --fail-missing
23+