Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16447
| From | Soren Stoutner <soren@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Correct command to skip multiple tests in autopkgtest? |
| Date | 2024-11-12 19:10 +0100 |
| Message-ID | <JI3uV-8sGk-1@gated-at.bofh.it> (permalink) |
| References | <JI3uV-8sGk-3@gated-at.bofh.it> <JE8Wd-5ZHa-5@gated-at.bofh.it> <JFVLc-76cf-13@gated-at.bofh.it> <JHJ3b-8gdv-7@gated-at.bofh.it> |
| Organization | Debian |
[Multipart message — attachments visible in raw view] - view raw
On Monday, November 11, 2024 1:18:12 PM MST Julian Gilbey wrote: > You could have a look at what I've done in pydevd (soon to be removed > from the archive), which was a complex case. But I'd suggest using > the syntax > > --deselect=tests/test_file.py::test_testname > > instead of -k; it can be given multiple times, and as long as there > are no spaces or weird characters in the test names (for example, > tests/test_file.py::test_testname[this is a parameter]), it works fine > when stored as a shell variable and then expanded without quotes. Thanks for the suggestion, but I wasn’t able to get --deselect to work, either during the build or in autopkgtest. I also have been unsuccessful in getting --ignore or -k to work with autopkgtest, even though they both work during the build. My sense is that it is some bug related to the implementation of "Testsuite: autopkgtest-pkg-pybuild”, but I don’t know enough about it to troubleshoot it. -- Soren Stoutner soren@debian.org
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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