diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-12-21 12:44:47 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2024-03-21 11:15:51 +0100 |
commit | 70e64cbc623fe3f373bc4298b988f3e4a48cf6c4 (patch) | |
tree | 8962630a44b1e0d8db20d270d792be2d3b8c2094 | |
parent | a96dff62ae6b2ab5a6ccf712f430f15a1f8a7266 (diff) |
debian/rules: disable tests
As of writing, wireshark's own CI for debian packaging has tests
disabled. Disable them here as well.
Fix for:
/usr/bin/cmake -E env PYTHONIOENCODING=UTF-8 /usr/bin/python3.10 -m pytest
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: -nauto
inifile: …/wireshark/obj-x86_64-linux-gnu/pytest.ini
rootdir: …/wireshark/obj-x86_64-linux-gnu
Related: https://gitlab.com/wireshark/wireshark/-/blob/50bf11fd8c91365bc64672c49ae27c1dbd82bd6c/.gitlab-ci.yml#L304
-rwxr-xr-x | packaging/debian/rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/debian/rules b/packaging/debian/rules index f116effffe..6e7307c154 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -84,7 +84,8 @@ override_dh_fixperms: override_dh_auto_test: ifeq (,$(filter $(DEB_BUILD_OPTIONS),nocheck)) # XXX Add -- --verbose? - dh_auto_test + # dh_auto_test + @echo 'Skipping tests' else @echo '"DEB_BUILD_OPTIONS" has "nocheck". Skipping tests' endif |