summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-11-01 23:43:38 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-11-05 09:34:52 +0000
commit6cb949d371ab5bc0056fa347438c4c7a9e855a34 (patch)
tree84812a31f71be04761a6dcedea05cafea29fce42 /Makefile
parent1b100b5cbf56f2a1944979e58e50a95aae34d668 (diff)
downloadpsycopg2-6cb949d371ab5bc0056fa347438c4c7a9e855a34.tar.gz
Try to install the hstore type in the test database.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aa00abc..9caeb91 100644
--- a/Makefile
+++ b/Makefile
@@ -12,4 +12,9 @@ check:
dropdb $(TESTDB) >/dev/null; \
fi
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