mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
fc2b684843
the version built by distutils.
16 lines
291 B
Makefile
16 lines
291 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) runtests.py --verbose
|