mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Run only allcols.load test for now
This commit is contained in:
parent
30f90cb848
commit
0f1da26a27
6
debian/tests/control
vendored
6
debian/tests/control
vendored
@ -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
12
debian/tests/local
vendored
@ -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
|
||||
9
debian/tests/regress
vendored
9
debian/tests/regress
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user