Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Try hard to find Makefile to run test suite for Python2
· 92474f76
Andreas Tille
authored
Dec 03, 2018
92474f76
Upload to unstable
· fe71d5eb
Andreas Tille
authored
Dec 03, 2018
fe71d5eb
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
fe71d5eb
python-ruffus (2.8.1-2) unstable; urgency=medium
* Try hard to find Makefile to run test suite for Python2
Closes: #915382
-- Andreas Tille <tille@debian.org> Mon, 03 Dec 2018 13:11:32 +0100
python-ruffus (2.8.1-1) unstable; urgency=medium
[ Jelmer Vernooij ]
...
...
debian/rules
View file @
fe71d5eb
...
...
@@ -25,7 +25,11 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
--test-args='set -e; \
cd {build_dir}/$(PYBUILD_NAME)/test ; \
if [ "{version.major}" = 2 ] ; then \
ln -s /build/python-ruffus-*/ruffus/test/Makefile ; \
if [ -e $(CURDIR)/ruffus/test/Makefile ] ; then ln -s $(CURDIR)/ruffus/test/Makefile ; else \
echo "Expected file $(CURDIR)/ruffus/test/Makefile not found" ; \
echo "Use `find $(CURDIR) -name Makefile | grep test` instead" ; \
ln -s `find $(CURDIR) -name Makefile | grep test | head -n1` ; \
fi ; \
cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
else \
sed "s/^python3/python{version}/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
...
...