Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Georg Faerber Newsgroups: linux.debian.maint.python Subject: Re: RFS: mwic 0.7.4-1 Date: Tue, 20 Mar 2018 19:10:01 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Mar 20 18:09:26 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.81 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, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1521569350; bh=MmnzrDW+ueu/oVcCfMMt/d/JXVAKIwVu/IQ51lmBFfE=; h=Date:From:To:Subject:References:In-Reply-To:From; b=oRH8ELzDus+ZttHkPPu++NR/sltotVk383B1L+nhjjr/Oi5PWl6DDqIud/fFwlf+P mktemdofWqPNsihC4rp3Kle55kT20cV5cP8NT6hOshGRS/havwmyctGyvAXCY0+ezt GpZrCPVeiovJXoSnNcgwoWJbCWpNIZjkspTyrZBc= X-Riseup-User-ID: 0AE327112A8835502F795F0045FCF840D0924DCE4095CC03FA5F08950C7C8B34 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="L5xhH6lUAPIS347H" Content-Disposition: inline X-Mailing-List: archive/latest/15681 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20180320180847.GE8754@debian Approved: robomod@news.nic.it Lines: 62 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 20 Mar 2018 19:08:47 +0100 X-Original-Message-ID: <20180320180847.GE8754@debian> X-Original-References: <20180316212934.GB28151@debian> <20180317094926.GP28151@debian> <20180319214616.GA11473@mitya57.me> <20180319223107.GB8754@debian> <20180320172120.GA18856@mitya57.me> Xref: csiph.com linux.debian.maint.python:10283 --L5xhH6lUAPIS347H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 18-03-20 20:21:20, Dmitry Shachnev wrote: > On Mon, Mar 19, 2018 at 11:31:07PM +0100, Georg Faerber wrote: > > On 18-03-20 00:46:16, Dmitry Shachnev wrote: > > > On Sat, Mar 17, 2018 at 10:49:26AM +0100, Georg Faerber wrote: > > > > Also, AFAIK, debian/tests/control is obsolete nowadays if > > > > debian/control contains Testsuite:. > > > > > > This is not true. With autodep8 you can test only whether a package > > > can be imported. If you want to run some actual unit tests, you still > > > need debian/tests/control. > > > > In case you're referring to unit tests shipped upstream, that's not > > true. See this [1] and that [2] for an example. The tests are executed, > > but there is no debian/tests/control file. > >=20 > > [1] https://ci.debian.net/data/autopkgtest/unstable/amd64/r/ruby-gettex= t-setup/20180313_122311/log.gz > > [2] https://salsa.debian.org/puppet-team/ruby-gettext-setup >=20 > This is a Ruby package. AFAIK autodep8 can run the unit tests for Ruby > packages and maybe for some other languages, but for Python it can > only test importability. I believe this is due to Python having (too) > many different test frameworks and ways to run them. >=20 > See https://salsa.debian.org/ci-team/autodep8/blob/master/examples.md > which shows how the generated tests look like for different languages. Thanks for the insight and the pointer - I stand corrected. Cheers, Georg (No need to Cc: me, I'm subscribed to the list.) --L5xhH6lUAPIS347H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE4p3Q++yWB9ljva4NWtdbQU6kFmcFAlqxTi8ACgkQWtdbQU6k Fmc6yg/+KVIk1MF+pW48a/THpQVHQJnpPD6S8tSJPulw6VC7IUqymI9bux+SsZLE pWlljBEyX7GvVnWPpVJrX7v5UEE36aZEL/PjyffT8gFCMxx71oyUumyHe5dJ3qeN anNMO5c0z9NjC/TcHa9D+YHDCcFAKo5G7nO2zlQikzvIFL+vZ5rRDkdp2LQfn6JC dD41NSI3wYs3SG9oFoJVsaAHyOVqBDTQrEDjW7sIt98ITvhIyYM5x08LsL+OW4aX LtZzAG8iQMguaFK5lnyLZn72lsOBXoNUZaNF4ZAG+WTcUa0ceSw7eSJ0TyrH2rpw mlK3PeFAHBUdI5te3+e6cbJ6aRAmfbeMVbMt9Bik5SWfteBPF3i09uzjgvUDPEKj mvdbsbMeWyPsGhhX7yOcsDVJizEYJZk/e4KK5ls8y9/HRxzmOY02yKyZpg2Fu0Xo GzEYqeekIiTeX73Pv+QxoswH8VCDCct24MkpMh7N9m7hRIKH/nYmGhDndUOWGYPE nrrgDkZd58m7IN6fjq5p6BU4WcAcur7PpKxZ4Igwcp7Oym2nALxbcr1DNUWH0szY RMykCUqWCFb6u6bA7BbPFtfQIwDu91ksdV5UM7XVcQiO+shCqMA/LBgSGsRFTMfx De3quYXeFtohG4w8wa7d9uMrRPBySfOwowVMtvFSMXj0ds503qw= =DscK -----END PGP SIGNATURE----- --L5xhH6lUAPIS347H--