Source: mypaint Severity: normal User: debian-68k@lists.debian.org Usertags: m68k
Hi! mypaint overrides the dh_auto_test target in debian/rules without checking for "nocheck" being set in DEB_BUILD_OPTIONS. This results in the testsuite being run even though "nocheck" is passed in DEB_BUILD_OPTIONS. Being able to disable the testsuite is necessary when building packages in emulated environments where the testsuite might not pass due to emulation issues or for cross-builds where the testsuite cannot be run due to the build and target architectures being different. In order to fix this, the code inside the override_dh_auto_test target should be guarded with an if conditional which tests for "nocheck" being present in DEB_BUILD_OPTIONS: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) endif See also #908373 [1] for reference. Thanks, Adrian > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908373 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913