Source: wapiti
Version: 3.2.10+dfsg-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
wapiti could not be built reproducibly.

This is because the testsuite generated a coverage.xml file which was
then shipped in the binary package, meaning that if the tests were
skipped via "nocheck" then the package contents would differ.

Patch attached that deletes this file after running the tests.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-04-06 13:33:53.608962134 -0400
--- b/debian/rules      2026-04-06 13:44:18.063154491 -0400
@@ -3,6 +3,7 @@
 # do not run tests that need internet, or that are know to fail
 # test_xss_utils: https://github.com/wapiti-scanner/wapiti/issues/698
 export PYBUILD_TEST_ARGS=--ignore=tests/attack 
--ignore=tests/endpoint/test_endpoint.py 
--ignore=tests/parsers/test_xss_utils.py --ignore=tests/web
+export PYBUILD_AFTER_TEST=rm -vf {build_dir}/coverage.xml
 
 %:
        dh $@ --buildsystem=pybuild

Reply via email to