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


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

Re: electrum: How to enable autopkgtest?

From Soren Stoutner <soren@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: electrum: How to enable autopkgtest?
Date 2024-10-31 20:50 +0100
Message-ID <JDJl7-5Jjg-5@gated-at.bofh.it> (permalink)
References <JDJl7-5Jjg-7@gated-at.bofh.it> <JD1k5-5axK-13@gated-at.bofh.it> <JDbjr-5ihU-1@gated-at.bofh.it> <JDbt8-5io4-41@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


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

On Wednesday, October 30, 2024 12:34:39 AM MST Andrey Rakhmatullin wrote:
> > 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).

I added the following text to the wiki:

*The `'-k $exp'` command skips running the test, but the tests are still 
included in the collection. This will cause failures if the tests have 
includes that cannot be satisfied. In that case, the `--ignore` command can be 
used instead, which skips adding the test to the collection.

{{{
export PYBUILD_TEST_ARGS=--ignore path/to/test.py
}}}

-- 
Soren Stoutner
soren@debian.org

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