Removed default test database from Makefile

The default is already in test/__init__.py and the Makefile was
overwriting the PSYCOPG2_TESTDB env variable.
This commit is contained in:
Federico Di Gregorio 2010-12-01 21:29:33 +01:00
parent f981e81813
commit a411f85354

View File

@ -29,8 +29,6 @@ ENV_DIR = $(shell pwd)/env/py-$(PYTHON_VERSION)
ENV_BIN = $(ENV_DIR)/bin
ENV_LIB = $(ENV_DIR)/lib
TESTDB = psycopg2_test
SOURCE_C := $(wildcard psycopg/*.c psycopg/*.h)
SOURCE_PY := $(wildcard lib/*.py)
SOURCE_DOC := $(wildcard doc/src/*.rst)
@ -71,7 +69,7 @@ docs-txt: doc/psycopg2.txt
sdist: $(SDIST)
runtests: package
PSYCOPG2_TESTDB=$(TESTDB) PYTHONPATH=$(BUILD_DIR):.:$(PYTHONPATH) $(PYTHON) tests/__init__.py --verbose
PYTHONPATH=$(BUILD_DIR):.:$(PYTHONPATH) $(PYTHON) tests/__init__.py --verbose
# The environment is currently required to build the documentation.