[med-svn] [Git][med-team/camitk][master] prevent blhc false positive in code generated during test + add breaks/replace to libcamitk-dev
Emmanuel Promayon (@promayon-guest)
gitlab at salsa.debian.org
Fri Jan 9 15:00:12 GMT 2026
Emmanuel Promayon pushed to branch master at Debian Med / camitk
Commits:
1a0fbfc1 by Emmanuel Promayon at 2026-01-09T15:00:11+00:00
prevent blhc false positive in code generated during test + add breaks/replace to libcamitk-dev
- - - - -
2 changed files:
- debian/control
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -91,6 +91,8 @@ Depends: libcamitk6 (= ${binary:Version}),
${shlibs:Depends}
Recommends: camitk-imp
Suggests: camitk-actionstatemachine
+Breaks: libcamitk5
+Replaces: libcamitk5
Description: Computer Assisted Medical Intervention Tool Kit - development
Helps researchers and clinicians to easily and rapidly collaborate in
order to prototype CAMI applications, that feature medical images,
=====================================
debian/rules
=====================================
@@ -79,6 +79,11 @@ endif
# as tests can only be run if and once the framework is build)
override_dh_auto_test-arch:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ # Some tests generate source code and build it but do not receive the hardening flags
+ # As this generated source code do not end up in the distributed binary,
+ # this can be considered as blhc false positive : just ignore them
+ @echo 'blhc: ignore-line-regexp: .*camitk-test-tmp.*'
+ @echo 'blhc: ignore-line-regexp: .*CamiTKExtensionCheck.*'
# Use the CamiTK test suite
# Note: all tests require an X server, xvfb-run is needed to have a virtual one
# Another way: xvfb-run --auto-servernum $(MAKE) -C camitk-build ARGS="-V" test
View it on GitLab: https://salsa.debian.org/med-team/camitk/-/commit/1a0fbfc1a188f19f78a0b630298f1cadbce24598
--
View it on GitLab: https://salsa.debian.org/med-team/camitk/-/commit/1a0fbfc1a188f19f78a0b630298f1cadbce24598
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260109/073a2d0d/attachment-0001.htm>
More information about the debian-med-commit
mailing list