Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Andrey Rakhmatullin Newsgroups: linux.debian.maint.python Subject: Re: electrum: How to enable autopkgtest? Date: Wed, 30 Oct 2024 08:40:02 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Oct 30 07:34:56 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -3.5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1DqFoVHU/Xq4BrfG" Content-Disposition: inline X-Mailing-List: archive/latest/22487 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ZyHhj2UqT2K7Q8UM@belkar.wrar.name Approved: robomod@news.nic.it Lines: 57 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 30 Oct 2024 12:34:39 +0500 X-Original-Message-ID: X-Original-References: <15878157.HmTS7JG1Cm@soren-desktop> <2054530.MAUd7XiDRF@soren-desktop> <7593363.j9mpMjfBnt@soren-desktop> Xref: csiph.com linux.debian.maint.python:16417 --1DqFoVHU/Xq4BrfG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 30, 2024 at 12:28:27AM -0700, Soren Stoutner wrote: > > > If I disable it in debian/rules using the following command the test = no > > > longer runs during build. > > >=20 > > > export PYBUILD_TEST_ARGS=3D-k 'not test_qml_types.py=E2=80=99 > >=20 > > The correct way is --ignore tests/test_qml_types.py >=20 > Thank you. That works perfectly. >=20 > Do you think it would be helpful to add that to the wiki at: >=20 > https://wiki.debian.org/Python/Pybuild#CUSTOMIZATION Yes. > Should it replace the information about the -k command or are they=20 > complimentary, with each having advantages in different scenarios? They are complimentary, --ignore skips the file at the test collection step (https://docs.pytest.org/en/stable/example/pythoncollection.html), -k and -m select/deselect specific tests (https://docs.pytest.org/en/stable/example/markers.html). --=20 WBR, wRAR --1DqFoVHU/Xq4BrfG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmch4Y8tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh OaUP/1Dc5MAuWgdJ7KaWHghtyi38cNnTRvyEpMjDsinj6Ip9Yr8DTkoTXbMaINqx WNdgWn2qwMojywnpAiqq8dfTMk6d1bwyWR4vqE15VT2OhnlbO9N7Huu7lJDS2mct vKcCCIYqhfDcpR6o7Ip6DV15sUcCL4DjXEDvaZdi+5Cy4GIbq07jekZ7jdXHO5u7 8D1K/faP1OeL8+V1PF1lc+J2bBv55trzH/zImyIYDegVATHA8/WdMU+KZ+r/SCme Ea+foHlTogTvif52zyYXxaYVCO5EEielcSBTMD13vGS4S0Ph114BQGOjDZRWaHdN 7aGI8K3gkZ1SDcaZUs6ycTxjKhS1cvIlVB8UA7v7wGdR4uHngOp/wVtdoBAv8lGv Ak7xEYg2Iseb0/oWdKpO77ef7P78xdK71C7+RPBrt1DoaQ6ybwbrLXwUZaGzEUBs 7BhPDEmkl8NxOyMowmTcgm2Cb+XxRIHt0keYyBEutjf/wazjzmYmaZ+XpTusecj9 Fq9m5B93C1PA9ZI0eGZyPvRBZ1J3vQvbjiCdUbMGlXQiSzHvaAZ9RjinV1A+PQfK x9UKiFQknfGnCBk8wJFL6RSLMk6A67Es5nlTzrtyVXb1ENGy1AVF7hRU9RNzf4io +M2kHNv/svjKD553zkQkzbipycQxb5CwjzxnaBDIea8TMAzj =RJ0P -----END PGP SIGNATURE----- --1DqFoVHU/Xq4BrfG--