This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=c6a4f28e1b1851a1419ccce46da5164389173876

commit c6a4f28e1b1851a1419ccce46da5164389173876
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Apr 25 20:25:30 2020 +0200

    build: Add the author testing dependencies to Build-Depends under a profile
    
    This makes installing them by hand or from various CI sources easier,
    and avoids having to repeat them all over the place.
---
 .gitlab-ci.yml |  6 +-----
 debian/control | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3138b3a7d..b4479c693 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,11 +24,7 @@ dist-check:
 unit-tests:
   stage: test
   script:
-    - eatmydata apt install -qq -y --no-install-recommends
-      fakeroot gpg cppcheck shellcheck aspell aspell-en codespell i18nspector
-      libtest-strict-perl libtest-minimumversion-perl libtest-perl-critic-perl
-      libtest-pod-perl libtest-pod-coverage-perl libtest-spelling-perl
-      libtest-synopsis-perl
+    - eatmydata apt -P pkg.dpkg.author-testing build-dep -qq -y .
     - ./configure
     - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
                  AUTHOR_TESTING=1
diff --git a/debian/control b/debian/control
index e65f1e6f9..348f46c86 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,25 @@ Build-Depends:
 # Needed for the functional test.
  bzip2 <!nocheck>,
  xz-utils <!nocheck>,
+# Needed for the test suite in author mode.
+ fakeroot <pkg.dpkg.author-testing>,
+ gpg <pkg.dpkg.author-testing>,
+ cppcheck <pkg.dpkg.author-testing>,
+ shellcheck <pkg.dpkg.author-testing>,
+ aspell <pkg.dpkg.author-testing>,
+ aspell-en <pkg.dpkg.author-testing>,
+ codespell <pkg.dpkg.author-testing>,
+ i18nspector <pkg.dpkg.author-testing>,
+ libtest-minimumversion-perl <pkg.dpkg.author-testing>,
+ libtest-perl-critic-perl <pkg.dpkg.author-testing>,
+ libtest-pod-coverage-perl <pkg.dpkg.author-testing>,
+ libtest-pod-perl <pkg.dpkg.author-testing>,
+ libtest-spelling-perl <pkg.dpkg.author-testing>,
+ libtest-strict-perl <pkg.dpkg.author-testing>,
+ libtest-synopsis-perl <pkg.dpkg.author-testing>,
+# Needed for code coverage reports.
+ lcov <pkg.dpkg.code-coverage>,
+ libdevel-cover-perl <pkg.dpkg.code-coverage>,
 
 Package: dpkg
 Architecture: any

-- 
Dpkg.Org's dpkg

Reply via email to