]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
debian/tests/control: set INSTALLED_TESTS=1 here
authorSimon McVittie <smcv@debian.org>
Fri, 6 May 2016 07:59:44 +0000 (08:59 +0100)
committerSimon McVittie <smcv@debian.org>
Wed, 11 Jan 2017 15:44:09 +0000 (15:44 +0000)
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)

debian/tests/control [new file with mode: 0644]

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644 (file)
index 0000000..8b0ce72
--- /dev/null
@@ -0,0 +1,12 @@
+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