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


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

Re: electrum: How to enable autopkgtest?

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Andrey Rakhmatullin <wrar@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: electrum: How to enable autopkgtest?
Date Wed, 30 Oct 2024 08:40:02 +0100
Message-ID <JDbt8-5io4-41@gated-at.bofh.it> (permalink)
References <JD1k5-5axK-13@gated-at.bofh.it> <JDb05-5i6F-3@gated-at.bofh.it> <JDb9L-5icw-9@gated-at.bofh.it> <JDbjr-5ihU-1@gated-at.bofh.it>
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 <wrar@debian.org>
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 <debian-python@lists.debian.org> archive/latest/22487
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <ZyHhj2UqT2K7Q8UM@belkar.wrar.name>
X-Original-References <15878157.HmTS7JG1Cm@soren-desktop> <2054530.MAUd7XiDRF@soren-desktop> <ZyHdUVreondBDah7@belkar.wrar.name> <7593363.j9mpMjfBnt@soren-desktop>
Xref csiph.com linux.debian.maint.python:16417

Show key headers only | View raw


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

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.
> > > 
> > > export PYBUILD_TEST_ARGS=-k 'not test_qml_types.py’
> > 
> > The correct way is --ignore tests/test_qml_types.py
> 
> Thank you.  That works perfectly.
> 
> Do you think it would be helpful to add that to the wiki at:
> 
> https://wiki.debian.org/Python/Pybuild#CUSTOMIZATION

Yes.

> Should it replace the information about the -k command or are they 
> 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).


-- 
WBR, wRAR

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


Thread

electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-29 21:50 +0100
  Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 06:50 +0100
    Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-30 07:20 +0100
      Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 07:50 +0100
      Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-30 08:10 +0100
        Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 08:20 +0100
          Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-30 08:30 +0100
            Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 08:40 +0100
              Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 20:50 +0100
                Re: electrum: How to enable autopkgtest? weepingclown <weepingclown@disroot.org> - 2024-10-31 21:40 +0100
                Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 21:50 +0100
                Re: electrum: How to enable autopkgtest? weepingclown <weepingclown@disroot.org> - 2024-10-31 21:50 +0100
                Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 22:10 +0100
        Re: electrum: How to enable autopkgtest? Hefee <hefee@debian.org> - 2024-10-31 19:50 +0100
          Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 20:30 +0100
  Re: electrum: How to enable autopkgtest? Antonio Terceiro <terceiro@debian.org> - 2024-10-30 14:10 +0100

csiph-web