[Reproducible-builds] [dh-python] 130/183: update test to support multiarch dependencies
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.
commit b8d97a5cc76bf485e1f95684a4d7e71b07696b75
Author: Piotr Ożarowski <piotr at debian.org>
Date: Tue Sep 17 20:27:48 2013 +0200
update test to support multiarch dependencies
see changes in last commit
---
tests/t201/Makefile | 2 +-
tests/t301/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/t201/Makefile b/tests/t201/Makefile
index bd2fd19..1631ec8 100644
--- a/tests/t201/Makefile
+++ b/tests/t201/Makefile
@@ -10,7 +10,7 @@ check:
test -f debian/python-foo/usr/lib/python2.6/dist-packages/foo/__init__.p;\
test ! -f debian/python-foo/usr/lib/python2.6/dist-packages/foo/spam.py;\
fi
- grep -q "Depends: .*python (<<" debian/python-foo/DEBIAN/control
+ grep -qe "Depends: .*python\(:any\)\? (<<" debian/python-foo/DEBIAN/control
[ "`readlink debian/python-foo/usr/lib/python$(DPY)/dist-packages/foo/absolute_link_to_tmp`" = "/tmp" ]
[ "`readlink debian/python-foo/usr/lib/python$(DPY)/dist-packages/foo/link_to_parent_dir`" = ".." ]
diff --git a/tests/t301/Makefile b/tests/t301/Makefile
index f475c6d..ce745a3 100644
--- a/tests/t301/Makefile
+++ b/tests/t301/Makefile
@@ -8,7 +8,7 @@ run: clean
dpkg-buildpackage -b -us -uc
check:
- grep -q "Depends: .*python3 (<< 3.4)" debian/python3-foo/DEBIAN/control
+ grep -qe "Depends: .*python3\(:any\)\? (<< 3.4)" debian/python3-foo/DEBIAN/control
grep -q "Recommends: .*python3-mako" debian/python3-foo/DEBIAN/control
test -f debian/python3-foo/usr/lib/python3/dist-packages/foo/__init__.py
test ! -f debian/python3-foo/usr/lib/python3/dist-packages/foo/spam.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git
More information about the Reproducible-builds
mailing list