Package: debhelper
Version: 11.5.1
Severity: wishlist
X-Debbugs-Cc: [email protected]

dh_auto_test with the Meson build system currently uses `ninja test`.
However, the Ninja files generated by Meson (unlike the Makefile generated
by Autotools) does not actually implement regression testing: `ninja test`
is just a convenience wrapper around `meson test`.

If you invoke `meson test` directly, you have more control over its
command-line arguments, in particular timeout multipliers for slow
architectures. As a result, src:systemd and src:glib2.0 have both switched
from dh_auto_test to `meson test`.

In compat level 13, I think dh_auto_test should switch to invoking
`meson test` directly. It would also be useful if there was a way for
debhelper 11/12 packages (particularly those that might be backported
to stretch or buster) to opt-in to using `meson test`.

Note that because `ninja test` and `meson test` take different command-line
options, this would be an incompatible change unless the package maintainer
has opted in somehow, either with a compat level upgrade or a new
command-line option.

(X-Debbugs-Cc to Meson maintainers: do you agree that this would be a good
change?)

Thanks,
    smcv

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev            20180224.1
ii  dh-autoreconf            19
ii  dh-strip-nondeterminism  0.043-2
ii  dpkg                     1.19.2
ii  dpkg-dev                 1.19.2
ii  dwz                      0.12-2
ii  file                     1:5.34-2
ii  libdpkg-perl             1.19.2
ii  man-db                   2.8.4-2+b1
ii  perl                     5.26.2-7+b1
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

-- no debconf information

Reply via email to