Package: autodep8
Version: 0.23
Severity: important

Hi,

when trying to use new debian/tests/autopkgtest-pkg-${type}.conf, it
seems to be unread. Example with pkg-js-tools (after removing current
debian/tests/control and adding Testsuite):

  $ cat debian/tests/autopkgtest-pkg-perl.conf
  pkg_perl_extra_depends=grunt, node-grunt-contrib-concat

  $ autodep8
  pkg_perl_extra_depends=grunt, node-grunt-contrib-concat
  Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps
  Depends: @, @builddeps@, pkg-perl-autopkgtest,
  Restrictions: skippable,
  Features: test-name=autodep8-perl-build-deps
  
  Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
  Depends: @, pkg-perl-autopkgtest,
  Restrictions: skippable, superficial,
  Features: test-name=autodep8-perl
  
  Test-Command: /usr/share/pkg-perl-autopkgtest/runner 
runtime-deps-and-recommends
  Depends: @, pkg-perl-autopkgtest,
  Restrictions: needs-recommends, skippable, superficial,
  Features: test-name=autodep8-perl-recommends

And then grunt tests are skipped:

  $ autopkgtest -B ../pkg-js-tools*.deb -- schroot unstable-amd64-sbuild
  [...]
  t/dh_grunt.t ............
  1..3
  ok 1 # skip grunt is not installed
  ok 2 # skip grunt is not installed
  ok 3 # skip grunt is not installed
  ok
  t/dh_grunt2.t ...........
  1..3
  ok 1 # skip grunt is not installed
  ok 2 # skip grunt is not installed
  ok 3 # skip grunt is not installed
  [...]

Reply via email to