[DSE-Dev] Bug#875558: libsemanage: please support nocheck option and profile

Helmut Grohne helmut at subdivi.de
Fri Sep 15 11:03:27 UTC 2017


On Fri, Sep 15, 2017 at 12:22:42PM +0200, Laurent Bigonville wrote:
> Is that really needed?
> 
> +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
> 
> Isn't dh_auto_test only called in the case nocheck is not set?

Yes, dh_auto_test is always run, but it turns itself into a noop when
DEB_BUILD_OPTIONS contains nocheck.

I guess there should be a debhelper FAQ about this. A number of people
find the current debhelper behaviour unintuitive, but changing it would
be backwards-incompatible. Niels is probably tired of discussing this
already. ;)

Also lazy Laurent could have simply run the code to see whether it was
necessary. :-P

Helmut



More information about the SELinux-devel mailing list