Mercurial > gemma
view schema/run_tests.sh @ 183:f3a09fc9c1eb
Prepare for having more than one database test script
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 18 Jul 2018 17:30:38 +0200 |
parents | a422471db08a |
children | a9d9c2b1d08c |
line wrap: on
line source
#!/bin/sh -e dropdb --if-exists gemma_test createdb gemma_test psql -qv ON_ERROR_STOP= -c 'CREATE EXTENSION pgtap' -d gemma_test psql -qv ON_ERROR_STOP= -f gemma.sql -d gemma_test psql -qv ON_ERROR_STOP= -f auth.sql -d gemma_test psql -qv ON_ERROR_STOP= -f tap_tests_data.sql -d gemma_test psql -Xf auth_tests.sql -d gemma_test