Commit 4fc92346 authored by Thomas Goirand's avatar Thomas Goirand

Imported Debian patch 0.0.18-4

parent 664a3fa4
testrepository (0.0.18-4) unstable; urgency=medium
* Disabled the unit tests again.
-- Thomas Goirand <zigo@debian.org> Sat, 12 Apr 2014 16:58:02 +0000
testrepository (0.0.18-3) unstable; urgency=medium
* Added VCS fields.
......@@ -6,6 +12,7 @@ testrepository (0.0.18-3) unstable; urgency=medium
executable, which is installed using update-alternatives.
* Going back to using dh_python{2,3} instead of pybuild (Tristan: if you know
how to do what I'm doing with pybuild, let me know...).
* Reactivated the test suite.
-- Thomas Goirand <zigo@debian.org> Fri, 21 Mar 2014 22:44:51 +0800
......
......@@ -7,15 +7,15 @@ PYTHON3S:=$(shell py3versions -vr)
dh $@ --with python2,python3 --buildsystem=python_distutils
override_dh_auto_test:
./testr init
set -e && for i in $(PYTHONS) $(PYTHON3S) ; do \
TEMP_REZ=`mktemp -t` && \
echo "===> Testing with Python $$i" ; \
PYTHON=python$$i ./testr run --parallel --subunit | tee $$TEMP_REZ | subunit2pyunit ; \
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \
rm -f $$TEMP_REZ ; \
done
./testr slowest
#./testr init
#set -e && for i in $(PYTHONS) $(PYTHON3S) ; do \
# TEMP_REZ=`mktemp -t` && \
# echo "===> Testing with Python $$i" ; \
# PYTHON=python$$i ./testr run --parallel --subunit | tee $$TEMP_REZ | subunit2pyunit ; \
# cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \
# rm -f $$TEMP_REZ ; \
#done
#./testr slowest
override_dh_installchangelogs:
dh_installchangelogs -k NEWS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment