On Sunday, December 15th, 2024 at 6:51 PM, Dario Lombardo <lom...@gmail.com> 
wrote:

> Have a look at the .gitlab-ci.yml file. It contains a working recipe for 
> building the deb. You can watch it run on gitlab.com, and download complete 
> artifacts as well.
Thanks, but I hope I solved the issue in roughly concurrent time to your reply.

I read the sources test/README.test
And followed the advice at:
https://www.wireshark.org/docs/wsdg_html_chunked/ChapterTests.html

So my workflow went this way:
(I hope I haven't misremembered some of it.)

cd wireshark
mkdir build
cd build/
cmake -G Ninja ..
ninja
ninja test-programs
cd test
python3 -m pytest

And the tests all completed fine.

Shortened, it looked like this:

============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0
rootdir: /some-dir/wireshark/build
configfile: pytest.ini
plugins: xdist-3.6.1, typeguard-4.4.1
[...]
........................................................                 [100%]
=========================== short test summary info ============================
SKIPPED [1] ../test/suite_capture.py:473: Test requires capture privileges.
[...]
======================= 903 passed, 17 skipped in 32.71s =======================

Which meant I could use John Thacker's advice and go with 'nocheck' option:

ln -s packaging/debian/
export DEB_BUILD_OPTIONS=nocheck ; dpkg-buildpackage

I'm running newly complied different wireshark packages already and if anything 
goes wrong, I'll seek advice here, but so far, no issues.

Thanks again devs!

> > Sent with Proton Mail secure email.

_______________________________________________
Wireshark-dev mailing list -- wireshark-dev@wireshark.org
To unsubscribe send an email to wireshark-dev-le...@wireshark.org

Reply via email to