pg-libphonenumber/docker/run-tests.sh

13 lines
289 B
Bash
Raw Normal View History

#!/bin/sh
2017-07-06 17:07:28 +00:00
# Used in the Docker image to run tests
PGDATA=/var/lib/postgresql/data
pg_ctl=/usr/lib/postgresql/${PG_MAJOR}/bin/pg_ctl
2018-06-16 22:16:53 +00:00
"$pg_ctl" "--pgdata=${PGDATA}" start -w
2017-07-06 17:07:28 +00:00
make installcheck
2018-06-16 22:16:53 +00:00
"$pg_ctl" "--pgdata=${PGDATA}" stop
if [ -f regression.diffs ]; then
cat regression.diffs
fi