On Mon, Feb 05, 2018 at 12:03:56AM +0100, gregor herrmann wrote:
> % grep override_dh_auto_test */debian/rules | wc -l
> 321
> Very quick visual check: All I've seen use dh_auto_test, either with
> some variables or with some actions before or after.

If there are actions before or after dh_auto_test then it may still be
"unsafe":  I've seen package running `make -C test` before dh_auto_test,
that one should be skipped if DEB_BUILD_OPTIONS=nocheck.
Or that try to move some test artifact after dh_auto_test: that would
actually cause a ftbfs if dh_auto_test did nothing.
The only "safe" cases of command that are fine to run in an
override_dh_auto_test are : and echo (if not redirected to a file).

                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to