[Pkg-bazaar-maint] Proposed change to bzr debian/rules to run more tests

Max Bowsher maxb at f2s.com
Wed Nov 24 00:19:27 UTC 2010


I am proposing that in the bzr package, we change:

common-post-build-indep::
    ./bzr selftest --no-plugins

to

common-post-build-arch::
    PYTHONPATH=`pwd`/`python -c 'import sys, distutils.util; print
"build/lib.%s-%s" % (distutils.util.get_platform(), sys.version[0:3])'` \
               `pwd`/`python -c 'import sys; print "build/scripts-%s" %
(sys.version[0:3],)'`/bzr selftest --no-plugins

.

The problem with the existing invocation is that it tests bzr without
any of the compiled extensions, so does not truly match what we go on to
install.

My proposed change is fairly horrid looking - more elegant ways of
achieving this are gratefully accepted.


Max.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20101124/deb37e9a/attachment.pgp>


More information about the Pkg-bazaar-maint mailing list