File: rules

package info (click to toggle)
python-django-voting 0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 224 kB
  • sloc: python: 538; makefile: 10
file content (13 lines) | stat: -rwxr-xr-x 260 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@ --with python2

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	set -e; \
	cd voting/tests; \
	for python in $(shell pyversions -r); do \
		PYTHONPATH=${PYTHONPATH}:../.. $$python runtests.py; \
	done
endif