[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build-time testing



* Barry Warsaw <barry@python.org>, 2011-02-22, 09:47:
-----snip snip-----
#!/usr/bin/make -f

PYTHON2=$(shell pyversions -vr)

%:
	dh $@ --with python2, --buildsystem python_distutils

You probably want to remove the comma. :)


test-python%:
	python$* setup.py test -vv

override_dh_auto_test: $(PYTHON2:%=test-python%)
-----snip snip-----

This run tests even if DEB_BUILD_OPTIONS=nocheck is set.

--
Jakub Wilk


Reply to: