mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-05-29 10:13:21 +03:00
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:
parent
f981e81813
commit
a411f85354
4
Makefile
4
Makefile
|
@ -29,8 +29,6 @@ ENV_DIR = $(shell pwd)/env/py-$(PYTHON_VERSION)
|
||||||
ENV_BIN = $(ENV_DIR)/bin
|
ENV_BIN = $(ENV_DIR)/bin
|
||||||
ENV_LIB = $(ENV_DIR)/lib
|
ENV_LIB = $(ENV_DIR)/lib
|
||||||
|
|
||||||
TESTDB = psycopg2_test
|
|
||||||
|
|
||||||
SOURCE_C := $(wildcard psycopg/*.c psycopg/*.h)
|
SOURCE_C := $(wildcard psycopg/*.c psycopg/*.h)
|
||||||
SOURCE_PY := $(wildcard lib/*.py)
|
SOURCE_PY := $(wildcard lib/*.py)
|
||||||
SOURCE_DOC := $(wildcard doc/src/*.rst)
|
SOURCE_DOC := $(wildcard doc/src/*.rst)
|
||||||
|
@ -71,7 +69,7 @@ docs-txt: doc/psycopg2.txt
|
||||||
sdist: $(SDIST)
|
sdist: $(SDIST)
|
||||||
|
|
||||||
runtests: package
|
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.
|
# The environment is currently required to build the documentation.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user