Mercurial > gemma
comparison schema/run_tests.sh @ 4728:bfbdcf67ae55 stack-polygons
Merged default into stack-polygons branch.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 17 Oct 2019 22:37:04 +0200 |
parents | baabc2b2f094 |
children | dfd990a4ac64 |
comparison
equal
deleted
inserted
replaced
4727:1d48be66ce69 | 4728:bfbdcf67ae55 |
---|---|
78 # Drop test roles, add test data and run tests | 78 # Drop test roles, add test data and run tests |
79 psql -qXv ON_ERROR_STOP= -v -d "$db" -p "$port" \ | 79 psql -qXv ON_ERROR_STOP= -v -d "$db" -p "$port" \ |
80 -c 'SET client_min_messages TO WARNING' \ | 80 -c 'SET client_min_messages TO WARNING' \ |
81 -c "DROP ROLE IF EXISTS $TEST_ROLES" \ | 81 -c "DROP ROLE IF EXISTS $TEST_ROLES" \ |
82 -f "$BASEDIR"/tap_tests_data.sql \ | 82 -f "$BASEDIR"/tap_tests_data.sql \ |
83 -c "SELECT plan(78 + ( | 83 -c "SELECT plan(77 + ( |
84 SELECT count(*)::int | 84 SELECT count(*)::int |
85 FROM information_schema.tables | 85 FROM information_schema.tables |
86 WHERE table_schema = 'waterway'))" \ | 86 WHERE table_schema = 'waterway'))" \ |
87 -f "$BASEDIR"/gemma_tests.sql \ | 87 -f "$BASEDIR"/gemma_tests.sql \ |
88 -f "$BASEDIR"/isrs_tests.sql \ | 88 -f "$BASEDIR"/isrs_tests.sql \ |