[Python-modules-commits] r21073 - in packages/pytest/trunk/debian (rules)
laarmen-guest at users.alioth.debian.org
laarmen-guest at users.alioth.debian.org
Fri Apr 6 06:26:24 UTC 2012
Date: Friday, April 6, 2012 @ 06:26:16
Author: laarmen-guest
Revision: 21073
Comment out the unit test and use the nocheck DEB_BUILD_OPTION.
Once pytest is back in the archive, we can reactivate the tests.
Modified:
packages/pytest/trunk/debian/rules
Modified: packages/pytest/trunk/debian/rules
===================================================================
--- packages/pytest/trunk/debian/rules 2012-04-06 05:29:04 UTC (rev 21072)
+++ packages/pytest/trunk/debian/rules 2012-04-06 06:26:16 UTC (rev 21073)
@@ -10,8 +10,6 @@
PYDEFAULT := $(shell pyversions -vd)
PY3DEFAULT := $(shell py3versions -vd)
-ENABLE_TESTS=false
-
%:
dh $@ --with python2,python3
@@ -50,11 +48,11 @@
rm debian/py.test.1 debian/py.test-3.1 -f
dh_clean
-override_dh_auto_test:
- set -ex; \
- if [ "$(ENABLE_TESTS)" = "true" ] ; then \
- for py in $(PYVERS) $(PY3VERS); do \
- $$py -m pytest testing ; \
- done \
- fi
+#override_dh_auto_test:
+#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+# set -ex; \
+# for py in $(PYVERS) $(PY3VERS); do \
+# $$py -m pytest testing ; \
+# done
+#endif
More information about the Python-modules-commits
mailing list