Try to install the hstore type in the test database.

This commit is contained in:
Daniele Varrazzo 2010-11-01 23:43:38 +00:00
parent 1b100b5cbf
commit 6cb949d371

View File

@ -12,4 +12,9 @@ check:
dropdb $(TESTDB) >/dev/null; \ dropdb $(TESTDB) >/dev/null; \
fi fi
createdb $(TESTDB) createdb $(TESTDB)
# Note to packagers: this requires the postgres user running the test
# to be a superuser. You may change this line to use the superuser only
# to install the contrib. Feel free to suggest a better way to set up the
# testing environment (as the current is enough for development).
psql -f `pg_config --sharedir`/contrib/hstore.sql $(TESTDB)
PSYCOPG2_TESTDB=$(TESTDB) $(PYTHON) runtests.py --verbose PSYCOPG2_TESTDB=$(TESTDB) $(PYTHON) runtests.py --verbose