[libdbd-mysql-perl] 01/01: autopkgtest: run the test suite with both MariaDB and MySQL

Niko Tyni ntyni at moszumanska.debian.org
Fri Oct 7 10:52:25 UTC 2016


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

ntyni pushed a commit to branch ntyni/autopkgtest
in repository libdbd-mysql-perl.

commit b1ee288df980ee6e912f013e0f3a2a5590c9c0aa
Author: Niko Tyni <ntyni at debian.org>
Date:   Fri Oct 7 13:32:59 2016 +0300

    autopkgtest: run the test suite with both MariaDB and MySQL
    
    TODO: this currently fails with mysql. Investigation needed.
    
    TODO: is there any way to remove the duplication of debian/tests/control
    with autodep8? Probably not without modifying autodep8 for more hooks,
    and I doubt the added complexity is worth it.
    
    TODO: is there any way to remove the duplication of test dependencies
    between debian/control and debian/tests/control? Probably not, but
    luckily there aren't too many.
    
    TODO: short-circuit '/usr/share/pkg-perl-autopkgtest/runner build-deps'
    to just '/usr/share/pkg-perl-autopkgtest/build-deps.d/smoke'? We aren't
    installing all the build dependencies, and it's theoretically possible
    that a future pkg-perl-autopkgtest test in build-deps.d/ will fail
    because of that. (Alternatively, we could just list the rest of the
    build dependencies even though they aren't needed for the test suite.)
---
 debian/tests/control | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..019c203
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,12 @@
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
+Depends: @, pkg-perl-autopkgtest
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends
+Depends: @, pkg-perl-autopkgtest
+Restrictions: needs-recommends
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps
+Depends: @, libdbi-perl, libtest-deep-perl, perl, procps, mariadb-server, pkg-perl-autopkgtest
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps
+Depends: @, libdbi-perl, libtest-deep-perl, perl, procps, mysql-server, pkg-perl-autopkgtest

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbd-mysql-perl.git



More information about the Pkg-perl-cvs-commits mailing list