Bug#506708: dh-make-perl: --notest has no effect in dh 7 mode

Kevin Ryde user42 at zip.com.au
Sun Nov 23 22:09:00 UTC 2008


Package: dh-make-perl
Version: 0.49
Severity: normal

In the default debhelper 7 mode the --notest option still runs "make
test".  Eg.

    dh-make-perl --notest --requiredeps --build POE-Loop-Glib-0.037

gives

    ...
       dh_auto_test
    make[1]: Entering directory `/home/gg/perl/poe/POE-Loop-Glib-0.037'
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
    FAILED--no tests were run for some reason.
    make[1]: *** [test_dynamic] Error 255
    make[1]: Leaving directory `/home/gg/perl/poe/POE-Loop-Glib-0.037'
    dh_auto_test: command returned error code 512
    make: *** [build-stamp] Error 1
    make: Leaving directory `/home/gg/perl/poe/POE-Loop-Glib-0.037'
    Cannot create deb package

where I hoped it would not run dh_auto_test, or would defang it, or
whatever.

(This particular POE-Loop-Glib has some either undeclared dependency or
not quite working adaption to the presence/absense of POE::Test::Loops.
Any problem there is a matter for it of course, I only wanted to ignore
its tests for the moment.)

If "--dh 6" mode is forced then --notest still works.

If dh7 has a standard way not to run tests too then that could helpfully
be cross referenced in the dh-make-perl docs under --notest (in addition
to that option doing what it says).  All I saw was the dh_auto_test man
page saying that if it doesn't work then don't use it!


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.26-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper                     7.0.17     helper programs for debian/rules
ii  dpkg-dev                      1.14.22    Debian package development tools
ii  fakeroot                      1.11       Gives a fake root environment
ii  libemail-date-format-perl     1.002-1    Module to generate RFC-2822-valid 
ii  libmodule-depends-perl        0.14-1     identify the dependencies of a dis
ii  libwww-mechanize-perl         1.34-2     Automate interaction with websites
ii  libyaml-perl                  0.66-1     YAML Ain't Markup Language (tm)
ii  make                          3.81-5     The GNU version of the "make" util
ii  perl                          5.10.0-17  Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser-p 5.10.0-17  Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                      2.1.6      APT package searching utility -- c
ii  libmodule-build-perl          0.3000-1   Subclassable and make-independent 
ii  perl-modules [libmodule-build 5.10.0-17  Core Perl modules

dh-make-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list