Run only allcols.load test for now

This commit is contained in:
Christoph Berg 2018-06-04 12:52:30 +02:00
parent 30f90cb848
commit 0f1da26a27
3 changed files with 6 additions and 21 deletions

View File

@ -1,7 +1,3 @@
Depends: @, make, postgresql-10-ip4r
Depends: @, make
Tests: regress
Restrictions: allow-stderr
Depends: @, make, default-mysql-server
Tests: local
Restrictions: allow-stderr, needs-root

12
debian/tests/local vendored
View File

@ -1,12 +0,0 @@
#!/bin/sh
set -ex
trap "service mysql stop" 0 2 3 15
service mysql start
cd test
pg_virtualenv -i '--auth=trust' << EOF
set -ex
make -j1 local PGLOADER=/usr/bin/pgloader PGUSER=postgres DBPATH=sqlite/sqlite.db
EOF

View File

@ -1,10 +1,11 @@
#!/bin/sh
set -ex
set -eux
cd test
pg_virtualenv << EOF
set -ex
make -j1 prepare PGLOADER=/usr/bin/pgloader PGUSER=$(whoami)
make -j1 regress PGLOADER=/usr/bin/pgloader PGUSER=$(whoami)
set -eux
createdb pgloader
psql -d pgloader -c 'create schema expected'
make regress REGRESS=allcols.load PGHOST=::1
EOF