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


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

Re: Correct command to skip multiple tests in autopkgtest?

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Soren Stoutner <soren@debian.org>
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 <JFVLc-76cf-13@gated-at.bofh.it> (permalink)
References <JE8Wd-5ZHa-5@gated-at.bofh.it>
X-Original-To Debian Python Team <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Nov 6 21:29:51 2024
Old-Return-Path <soren@debian.org>
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 <debian-python@lists.debian.org> archive/latest/22509
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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

Show key headers only | View raw


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

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_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' (choose from 'samedir',
> 'subdir', ‘parentdir’)

My experience with another package is that -k works correctly with autopkgtest 
when skipping only one test.  The problem appears to be something related to 
parsing multiple tests to skip.  I have tried a couple of syntax variations, 
but so far haven’t been able to guess the right one.

-- 
Soren Stoutner
soren@debian.org

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


Thread

Correct command to skip multiple tests in autopkgtest? Soren Stoutner <soren@debian.org> - 2024-11-02 00:10 +0100
  Re: Correct command to skip multiple tests in autopkgtest? Soren Stoutner <soren@debian.org> - 2024-11-06 22:30 +0100
    Re: Correct command to skip multiple tests in autopkgtest? Julian Gilbey <julian@d-and-j.net> - 2024-11-11 21:20 +0100
      Re: Correct command to skip multiple tests in autopkgtest? Soren Stoutner <soren@debian.org> - 2024-11-12 19:10 +0100
  Re: Correct command to skip multiple tests in autopkgtest? Soren Stoutner <soren@debian.org> - 2024-12-03 01:30 +0100

csiph-web