Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: weepingclown Newsgroups: linux.debian.maint.python Subject: Re: electrum: How to enable autopkgtest? Date: Thu, 31 Oct 2024 21:40:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Oct 31 20:37:49 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/22497 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/4AC704C8-73E3-437E-A33D-4938BAD8A43A@disroot.org Approved: robomod@news.nic.it Lines: 26 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 31 Oct 2024 20:37:22 +0000 X-Original-Message-ID: <4AC704C8-73E3-437E-A33D-4938BAD8A43A@disroot.org> X-Original-References: <15878157.HmTS7JG1Cm@soren-desktop> <7593363.j9mpMjfBnt@soren-desktop> <4991199.F8kvJVUDZk@soren-desktop> Xref: csiph.com linux.debian.maint.python:16427 Hi, this is not entirely correct as while '-k' can be used to skip specific te= sts with 'not ' it can also be used to only include tests matching a = specific pattern (in both cases it is just matching the pattern given)=2E I= t is probably better to rephrase it to something like "The `-k not ` = flag can be used to skip running specific tests, but they are still collect= ed=2E=2E=2E=2E=2E"=2E=20 Best, Ananthu On 31 October 2024 7:43:42 pm UTC, Soren Stoutner wro= te: >*The `'-k $exp'` command skips running the test, but the tests are still= =20 >included in the collection=2E This will cause failures if the tests have= =20 >includes that cannot be satisfied=2E In that case, the `--ignore` command= can be=20 >used instead, which skips adding the test to the collection=2E > >{{{ >export PYBUILD_TEST_ARGS=3D--ignore path/to/test=2Epy >}}} >