Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8197

Re: Test suite needs script built after dh_auto_test is run

From Sean Whitton <spwhitton@spwhitton.name>
Newsgroups linux.debian.devel.mentors, linux.debian.maint.python
Subject Re: Test suite needs script built after dh_auto_test is run
Date 2016-02-07 00:20 +0100
Message-ID <qZkj0-5ZW-5@gated-at.bofh.it> (permalink)
References <qYFSz-3zj-19@gated-at.bofh.it> <qYU5c-4l7-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Dear Barry,

On Fri, Feb 05, 2016 at 02:17:51PM -0500, Barry Warsaw wrote:
> If ocrmypdf supports Python's -m option, you could consider patching the test
> suite to run `python -m ocrmydf` instead.  Season to taste for python3 and or
> both if you're using pybuild.
> 
> [snip]
> 
> As a last resort, I have disabled the build-time tests (all or only the ones
> that require the /usr/bin) and then arranged for the full test suite to run
> via autopkgtest/DEP-8.  It's not ideal because Debian currently doesn't gate
> on DEP-8 passing, but Ubuntu does and at least I'll see failures there.

Thank you for your input: that worked, aside from one test that wanted
to pass Unicode on the command line which the `python -m ocrmypdf`
method doesn't like.  I commented that one out and have got the full
test suite running with autopkgtest.

I've submitted a request to join the Python Apps Packaging Team so that
I can request sponsorship for my package.

-- 
Sean Whitton

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Test suite needs script built after dh_auto_test is run Sean Whitton <spwhitton@spwhitton.name> - 2016-02-05 05:10 +0100
  Re: Test suite needs script built after dh_auto_test is run Barry Warsaw <barry@python.org> - 2016-02-05 20:20 +0100
    Re: Test suite needs script built after dh_auto_test is run Sean Whitton <spwhitton@spwhitton.name> - 2016-02-07 00:20 +0100

csiph-web