'make check' runs the test in the build directory.

This way tests can be run win Py3 too, as the setup 2to3s them.
This commit is contained in:
Daniele Varrazzo 2010-12-12 16:50:29 +00:00
parent 31093a7a58
commit 9b29282ee4

View File

@ -82,7 +82,7 @@ ez_setup:
wget -O $(EZ_SETUP) http://peak.telecommunity.com/dist/ez_setup.py
check:
PYTHONPATH=$(BUILD_DIR):.:$(PYTHONPATH) $(PYTHON) tests/__init__.py --verbose
PYTHONPATH=$(BUILD_DIR):$(BUILD_DIR)/tests:$(PYTHONPATH) $(PYTHON) $(BUILD_DIR)/psycopg2/tests/__init__.py --verbose
testdb:
@echo "* Creating $(TESTDB)"