From: Simon McVittie Date: Fri, 6 May 2016 07:59:44 +0000 (+0100) Subject: debian/tests/control: set INSTALLED_TESTS=1 here X-Git-Tag: debian/3.20120629.2+deb7u2~6 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/1728978d035de63e60875fcc02f8ba989f6f77c2 debian/tests/control: set INSTALLED_TESTS=1 here pkg-perl-autopkgtest in jessie didn't support debian/tests/pkg-perl/smoke-env. This solution has been used in jessie-backports for several months. (cherry picked from commit c7bdebaaf134729356852918b387071c92f85e72) --- diff --git a/debian/tests/control b/debian/tests/control index 33e5d6cd1..fe9392a19 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -3,3 +3,16 @@ Depends: @, perlmagick Tests: img-full-fat Depends: @, ghostscript, libmagickcore-extra, perlmagick + +Test-Command: env INSTALLED_TESTS=1 /usr/share/pkg-perl-autopkgtest/runner build-deps +Depends: @, @builddeps@, pkg-perl-autopkgtest + +Test-Command: env INSTALLED_TESTS=1 /usr/share/pkg-perl-autopkgtest/runner runtime-deps +Depends: @, pkg-perl-autopkgtest + +Test-Command: env INSTALLED_TESTS=1 /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends +Depends: @, pkg-perl-autopkgtest +Restrictions: needs-recommends + +Test-Command: env INSTALLED_TESTS=1 /usr/share/pkg-perl-autopkgtest/runner heavy-deps +Depends: @, pkg-perl-autopkgtest, pkg-perl-autopkgtest-heavy