[Debian-med-packaging] Bug#898334: python-cogent: Does not honor "nocheck" in DEB_BUILD_OPTIONS

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu May 10 12:03:42 BST 2018


Source: python-cogent
Severity: normal

Hi!

python-cogent currently does not honor it when "nocheck" is passed through
DEB_BUILD_OPTIONS meaning that the testsuite is always run even though
it is disabled through the build environment.

Being able to disable the testsuite is an important feature for package
builds that is often required when porting a package to a new architecture
or cross-building it and hence python-cogent should properly honor the
"nocheck" flag.

In this case, it should be enough to guard the code in override_dh_auto_test
with "ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS))) .. endif".

Thanks,
Adrian

--
  .''`.  John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaubitz at debian.org
 `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Debian-med-packaging mailing list