[Python-modules-commits] r18909 - in packages/logilab-astng/trunk/debian (rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Fri Oct 14 16:51:52 UTC 2011
Date: Friday, October 14, 2011 @ 16:51:51
Author: morph
Revision: 18909
fix test execution loop
Modified:
packages/logilab-astng/trunk/debian/rules
Modified: packages/logilab-astng/trunk/debian/rules
===================================================================
--- packages/logilab-astng/trunk/debian/rules 2011-10-14 16:23:39 UTC (rev 18908)
+++ packages/logilab-astng/trunk/debian/rules 2011-10-14 16:51:51 UTC (rev 18909)
@@ -21,13 +21,13 @@
build-stamp:
dh_testdir
- set -e;
+ set -e; \
for python in $(PYTHONS) ; do \
NO_SETUPTOOLS=1 $$python setup.py -q build ; \
done
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
- set -e \;
+ set -e ;\
for python in $(PYTHONS) ; do \
PYLIBPATH=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib") ;\
LOGILAB_COMMON_DIR=$$(dirname `$$python -c "import logilab.common as lc ; print lc.__file__" 2>/dev/null`) ;\
@@ -36,9 +36,9 @@
# even bigger hack: we symlink the common module in our temp build/ ;\
# because it has to be in the same namespace as astng ;\
ln -s $(LOGILAB_COMMON_DIR) $(CURDIR)/$(PYLIBPATH)/logilab/ ;\
- # we can now run the test, at last...
+ # we can now run the test, at last... ;\
PYTHONPATH=$(CURDIR)/$(PYLIBPATH) $$python `which pytest` ;\
- # and cleanup the mess
+ # and cleanup the mess ;\
rm -rf $(CURDIR)/$(PYLIBPATH)/logilab/__init__.py $(CURDIR)/$(PYLIBPATH)/logilab/common ;\
done
endif
More information about the Python-modules-commits
mailing list