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 so...@debian.org
signature.asc
Description: This is a digitally signed message part.