Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Soren Stoutner Newsgroups: linux.debian.maint.python Subject: Re: Correct command to skip multiple tests in autopkgtest? Date: Wed, 06 Nov 2024 22:30:02 +0100 Message-ID: References: X-Original-To: Debian Python Team X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Nov 6 21:29:51 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-114.849 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no Organization: Debian MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4584257.KZTIoMqAQ8"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Debian-User: soren X-Mailing-List: archive/latest/22509 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/2524627.IqhbeH025v@soren-desktop Approved: robomod@news.nic.it Lines: 65 Sender: robomod@news.nic.it X-Original-Date: Wed, 06 Nov 2024 14:29:34 -0700 X-Original-Message-ID: <2524627.IqhbeH025v@soren-desktop> X-Original-References: <2952489.034xB63fYD@soren-desktop> Xref: csiph.com linux.debian.maint.python:16438 --nextPart4584257.KZTIoMqAQ8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Soren Stoutner To: Debian Python Team Subject: Re: Correct command to skip multiple tests in autopkgtest? Date: Wed, 06 Nov 2024 14:29:34 -0700 Message-ID: <2524627.IqhbeH025v@soren-desktop> Organization: Debian In-Reply-To: <2952489.034xB63fYD@soren-desktop> References: <2952489.034xB63fYD@soren-desktop> MIME-Version: 1.0 On Friday, November 1, 2024 4:03:45 PM MST Soren Stoutner wrote: > I: pybuild base:311: cd /tmp/autopkgtest-lxc.ntf_swjm/downtmp/ autopkgtest_tmp/ > build; python3.12 -m pytest -k 'not test_find_module and not > test_metadata_searching and not test_Qt_QTranslate and not test_zeep and = not > test_scapy3 and not test_zope_interface and not test_gevent and not > test_user_preferred_locale and not test_pytz' > usage: __main__.py [-h] [--link-only] {samedir,subdir,parentdir} > __main__.py: error: argument test_type: invalid choice: 'not test_find_mo= dule > and not test_metadata_searching and not test_Qt_QTranslate and not test_z= eep > and not test_scapy3 and not test_zope_interface and not test_gevent and n= ot > test_user_preferred_locale and not test_pytz' (choose from 'samedir', > 'subdir', =E2=80=98parentdir=E2=80=99) My experience with another package is that -k works correctly with autopkgt= est=20 when skipping only one test. The problem appears to be something related t= o=20 parsing multiple tests to skip. I have tried a couple of syntax variations= ,=20 but so far haven=E2=80=99t been able to guess the right one. =2D-=20 Soren Stoutner soren@debian.org --nextPart4584257.KZTIoMqAQ8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmcr374ACgkQwufLJ66w tgPORw//XT0EuLRhDnZz77qPBsYOLv8+WRbj1If6i4iL6dqi30TERBfnYoUr5xPZ Kw9WkMQxQp68jcPdXFfF6d3AQZfsUNPswxkt8usNobX0vkJzkAXMaYKxkjGJwy1G 77ISq33vm5tlYbhGVckpbsh3v4foAqA7PZvSw+G7AtkQAY9Qvx1hkpStRw1/M/E7 Nf27KpWaQFxt03EVXp6tS4f7+wE0TmCsZRlnvlSetc0ToKQv2E7r70PRPEpUmOYF tGCwrac2qj7+MGE3ojYYPc08NoO3IVcihLCFaMGrezElnOVor2dNUaydwGDFRvvH GChdOHEK2Wkg5BVCCTXPQKCLF8gOeH8TPuvVju5xgiVr43zz4IzPE206fn+x1ZXH ndzMqWH1ZUqbUq4G8w1j9JzKQCSIJmKl1et9vjFGtKCuZ+JNemaTe6AgW/I+TL9B n7XbvNo2pO5UIiVQFuJOYnIqDk3zQZMHiNVINrbFR88JT0yf3JhIsNagOcWmM+Er lU+mfgIVyDLAm8i6y/Lw2oBiYSXnoB+fjyk4juozDoMqkYPN5kGbgBrqX+TjKsFA x2a6W/iRWweA+IXEKkhvlGuF5Advj0JMmA2nICXpZAdYcEgBpgMqQqFp3lQtxsSn eqm33baiJqK4OFh6YCiEquKzv2wv3DqslhpGL9lrSd6odSINKB4= =KbOB -----END PGP SIGNATURE----- --nextPart4584257.KZTIoMqAQ8--