debian/tests/control
author Jérémy Bobbio <jeremy.bobbio@irq7.fr>
Mon, 17 Jun 2019 17:25:04 +0200
changeset 12686 74b8bceddee7
parent 12684 d464495452aa
child 12709 280c9db41038
permissions -rw-r--r--
[pkg] Add new autopkgtest for skeleton packaging When running `cubicweb-ctl newcube`, the generated template provides debian packaging. So let's add automated tests for that using autopkgtest. The new test will generated a new cube, build a source tarball, build the package, try to install it, see if the Python 3 module is available and even run autopkgtest against the newly created packages. Along the way it will also print information about the generated package: buildinfo, package content, and lintian report.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12643
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     1
Tests: unittest
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     2
Depends:
12684
d464495452aa [pkg] Run all unit tests in autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12643
diff changeset
     3
 python3-cubicweb, cubicweb-ctl,
12643
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     4
 @builddeps@,
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     5
 python3-pytest,
12684
d464495452aa [pkg] Run all unit tests in autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12643
diff changeset
     6
 python3-flake8,
d464495452aa [pkg] Run all unit tests in autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12643
diff changeset
     7
 python3-psycopg2, postgresql, postgresql-plpython,
d464495452aa [pkg] Run all unit tests in autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12643
diff changeset
     8
 python3-ldap3, slapd, ldap-utils
12643
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     9
Restrictions: allow-stderr, isolation-container
12686
74b8bceddee7 [pkg] Add new autopkgtest for skeleton packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12684
diff changeset
    10
74b8bceddee7 [pkg] Add new autopkgtest for skeleton packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12684
diff changeset
    11
Tests: skeleton-packaging
74b8bceddee7 [pkg] Add new autopkgtest for skeleton packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12684
diff changeset
    12
Depends:
74b8bceddee7 [pkg] Add new autopkgtest for skeleton packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12684
diff changeset
    13
 python3-cubicweb, cubicweb-ctl,
74b8bceddee7 [pkg] Add new autopkgtest for skeleton packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12684
diff changeset
    14
 python3-pyramid, python3-wsgicors,
74b8bceddee7 [pkg] Add new autopkgtest for skeleton packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12684
diff changeset
    15
 devscripts, equivs, lintian, autopkgtest
74b8bceddee7 [pkg] Add new autopkgtest for skeleton packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12684
diff changeset
    16
Restrictions: allow-stderr, needs-root