Make FTBFS if unit test fail.

This commit is contained in:
Thomas Goirand
2014-05-28 22:33:12 +08:00
parent 25fb5ef079
commit 460c47cdb1

2
debian/rules vendored
View File

@@ -23,7 +23,7 @@ override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
ln -s src wrapt
set -ex && for pyvers in $(PYTHONS) $(PYTHON3S); do \
PYTHONPATH=. py.test-$$pyvers -v tests || true ; \
PYTHONPATH=. py.test-$$pyvers -v tests ; \
done
rm -f wrapt
endif