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


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

Re: electrum: How to enable autopkgtest?

From Andrey Rakhmatullin <wrar@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: electrum: How to enable autopkgtest?
Date 2024-10-30 08:40 +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>
Organization linux.* mail to news gateway

Show all headers | 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