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

Path csiph.com!goblin3!goblin.stu.neva.ru!news.roellig-ltd.de!open-news-network.org!news.albasani.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
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 Sun, 07 Feb 2016 00:20:02 +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>
X-Mailbox-Line From debian-mentors-request@lists.debian.org Sat Feb 6 23:18:35 2016
Old-Return-Path <spwhitton@spwhitton.name>
X-Amavis-Spam-Status No, score=-12.8 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .spwhitton. - helo: .out4-smtp.messagingengine. - helo-domain: .messagingengine.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
Dkim-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=spwhitton.name; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=dEl+0 r9GhBMwKFbeRGQ7NJathjc=; b=qaspVpV3F9bWEoPm7DPf+fAcGXhn5Tc5P8PMB 4Jx8Ad2BLnt3K6Un8uVzmWNcYVXFMhIu7PDWNMkFrly6mnMCxtD19g0DARpuD7Tf umRI939NFDccc61s+e6T/8HBdj9FgFtQJ3zPGo0jlzynDzV9+UDlIAVOCQHAyIpT IEEtpM=
Dkim-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=dEl+0r9GhBMwKFbeRGQ7NJathjc=; b=NW/8u feGmuqBlfrcGSXw8q+vK7rNP79/PjziHvFpf8rsInUZj7MttWNDxBqQt70q7++KT 9PE4rjL9z6CYGIuw6TBP6sO4/SVJOgAzYjj777WSTKLJOSzDZ0yOA5aAYhXx3gHM 8VG6tCr6osSjavT+9eXEzgoO7RiqcZp6fnTLE4=
X-Sasl-Enc yuILi1XAu1Z8KMjwVgUJRlBZtJFEcOf/5UvzyL2I96T6 1454800698
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC"
Content-Disposition inline
X-Mailing-List <debian-mentors@lists.debian.org> archive/latest/84532
List-ID <debian-mentors.lists.debian.org>
List-URL <https://lists.debian.org/debian-mentors/>
List-Archive https://lists.debian.org/msgid-search/20160206231817.GA2121@artemis.silentflame.com
Approved robomod@news.nic.it
Lines 58
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-mentors@lists.debian.org, debian-python@lists.debian.org
X-Original-Date Sat, 6 Feb 2016 16:18:17 -0700
X-Original-Message-ID <20160206231817.GA2121@artemis.silentflame.com>
X-Original-References <20160205040842.GA27579@artemis.silentflame.com> <20160205141751.04b87acf@anarchist.wooz.org>
Xref csiph.com linux.debian.devel.mentors:35215 linux.debian.maint.python:8197

Cross-posted to 2 groups.

Show key headers only | 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