* debian/tests: Add acceptance test and use correct environment variables for
test test.
This commit is contained in:
parent
e8c96dcfd8
commit
843df45d25
9
debian/tests/acceptance
vendored
Executable file
9
debian/tests/acceptance
vendored
Executable 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
|
5
debian/tests/control
vendored
5
debian/tests/control
vendored
|
@ -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
3
debian/tests/test
vendored
|
@ -2,4 +2,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
export LC_ALL=C.UTF-8
|
||||
export LANG=C.UTF-8
|
||||
|
||||
python3 setup.py test
|
||||
|
|
Loading…
Reference in a new issue