mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
67afd678b0
Most of the updates have been provided by James Henstridge. Closes ticket #195.
16 lines
297 B
Makefile
16 lines
297 B
Makefile
PYTHON = python$(PYTHON_VERSION)
|
|
#PYTHON_VERSION = 2.4
|
|
|
|
TESTDB = psycopg2_test
|
|
|
|
all:
|
|
@:
|
|
|
|
check:
|
|
@echo "* Creating $(TESTDB)"
|
|
@if psql -l | grep -q " $(TESTDB) "; then \
|
|
dropdb $(TESTDB) >/dev/null; \
|
|
fi
|
|
createdb $(TESTDB)
|
|
PSYCOPG2_TESTDB=$(TESTDB) $(PYTHON) tests/__init__.py --verbose
|