debian/tests/control
author Jérémy Bobbio <jeremy.bobbio@irq7.fr>
Wed, 05 Jun 2019 18:35:51 +0200
changeset 12643 c0ff60cd4c1f
child 12684 d464495452aa
permissions -rw-r--r--
[pkg] Run test suite as part of autopkgtest Add support for autopkgtest. The test “unittest” will run the test suite using pytest. As we need PostgreSQL in the test environment and open network connection, the test is marked with `isolation-container` and requires at least LXC to be run, e.g: autopkgtest -s -- lxc -s autopkgtest-sid
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:
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     3
 python3-cubicweb,
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,
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     6
 python3-crypto, python3-psycopg2,
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     7
 postgresql, postgresql-plpython,
c0ff60cd4c1f [pkg] Run test suite as part of autopkgtest
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     8
 firefox
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