* debian/tests: Add acceptance test and use correct environment variables for

test test.
This commit is contained in:
Michael Banck 2017-09-15 15:24:59 +02:00
parent e8c96dcfd8
commit 843df45d25
3 changed files with 15 additions and 2 deletions

9
debian/tests/acceptance vendored Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
PG_VERSION=$(/usr/share/postgresql-common/supported-versions default)
export PATH=/usr/lib/postgresql/${PG_VERSION}/bin:$PATH
behave

View file

@ -1,2 +1,3 @@
Depends: @
Tests: test
Depends: @builddeps@, @, python3-behave, python3-coverage, postgresql-9.6, etcd-server
Tests: test, acceptance
Restrictions: allow-stderr

3
debian/tests/test vendored
View file

@ -2,4 +2,7 @@
set -e
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
python3 setup.py test