[Reproducible-builds] [dh-python] 65/183: pybuild: pypy: run `pypy -m unittest discover -v` by default

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:21 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 c7e6669641ffbac348a9193b138671dfcffcaffc
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Wed Aug 7 21:13:43 2013 +0200

    pybuild: pypy: run `pypy -m unittest discover -v` by default
---
 debian/changelog       | 4 +++-
 dhpython/build/base.py | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2405366..3050026 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,9 @@ dh-python (1.20130807-1) unstable; urgency=low
   * dh_python3: do not add multiarch triplets in python3.2's extensions -
     mutliarch support was disabled in this interpreter
   * dh_pypy: fix prerm script to remove .pyc files (thanks to Jakub Wilk)
-  * pybuild: rename PYBUILD_DEBUG env. var. to PYBUILD_VERBOSE
+  * pybuild:
+    - rename PYBUILD_DEBUG env. var. to PYBUILD_VERBOSE
+    - run `pypy -m unittest discover -v` in test target for pypy interpreter
 
  -- Piotr Ożarowski <piotr at debian.org>  Sat, 03 Aug 2013 12:41:15 +0200
 
diff --git a/dhpython/build/base.py b/dhpython/build/base.py
index 16650ef..523fdb9 100644
--- a/dhpython/build/base.py
+++ b/dhpython/build/base.py
@@ -133,7 +133,7 @@ class Base:
         raise NotImplementedError("build method not implemented in %s" % self.NAME)
 
     def test(self, context, args):
-        if args['version'] == '2.7' or args['version'] >> '3.1':
+        if args['version'] == '2.7' or args['version'] >> '3.1' or args['interpreter'] == 'pypy':
             return 'cd {build_dir}; {interpreter} -m unittest discover -v {args}'
 
     def execute(self, context, args, command, log_file=None):

-- 
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