On Sat, Dec 28, 2024 at 11:21:11AM +0100, Simon Josefsson wrote:
Hi. Asking for some advice here, in python-netfilterqueue there is now:
export PYBUILD_TEST_ARGS=--ignore tests/conftest.py
conftest.py is not a file with test cases, it's a "config" file for all tests, ignoring it doesn't make sense and not running code from it (if
that's what you want) is likely impossible. I don't understand what do you want to achieve by ignoring it so I cannot suggest anything useful though.
Hi. Asking for some advice here, in python-netfilterqueue there is now:
export PYBUILD_TEST_ARGS=--ignore tests/conftest.py
On Sat, Dec 28, 2024 at 11:21:11AM +0100, Simon Josefsson wrote:
Hi. Asking for some advice here, in python-netfilterqueue there is now:
export PYBUILD_TEST_ARGS=--ignore tests/conftest.py
conftest.py is not a file with test cases, it's a "config" file for all tests, ignoring it doesn't make sense and not running code from it (if
that's what you want) is likely impossible. I don't understand what do you want to achieve by ignoring it so I cannot suggest anything useful though.
Hi. Asking for some advice here, in python-netfilterqueue there is now: >>
export PYBUILD_TEST_ARGS=--ignore tests/conftest.py
conftest.py is not a file with test cases, it's a "config" file for all tests, ignoring it doesn't make sense and not running code from it (if that's what you want) is likely impossible. I don't understand what do you want to achieve by ignoring it so I cannot suggest anything useful though.
Thank you -- what I want to achieve is a build that succeeds after I
remove this heavy hammer that ignores all self-tests errors:
override_dh_auto_test:
-dh_auto_test $(DH_BUILD_OPTS)
Maybe all of upstreams self-tests really do depend on the unshare
module,
and if we don't want to include that in Debian [1] there is no
hope to get netfilterqeueue self-tests to work. And then we just as
well disable all self-tests like that.
/Simon
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091506#10
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 08:08:43 |
Calls: | 9,538 |
Calls today: | 6 |
Files: | 13,653 |
Messages: | 6,138,953 |
Posted today: | 1 |