File: rules

package info (click to toggle)
zdaemon 2.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 352 kB
  • ctags: 322
  • sloc: python: 2,242; xml: 248; makefile: 11; sh: 1
file content (14 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh --with python2 $@

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	set -e; for py in $(shell pyversions -vr); do \
	  for test in tests testzdoptions testzdrun; do \
		PYTHONPATH=debian/python-zdaemon/usr/lib/python$$py/dist-packages \
			python$$py setup.py test -m zdaemon.tests.$$test; \
	  done; \
	done;
endif