mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-20 10:50:32 +03:00
Removed runtests target; checks is the default for Makefiles
This commit is contained in:
parent
a411f85354
commit
5f80dd38c4
13
Makefile
13
Makefile
|
@ -16,11 +16,7 @@
|
||||||
#
|
#
|
||||||
# Run the test::
|
# Run the test::
|
||||||
#
|
#
|
||||||
# make check # but this requires setting up a test database with the correct user)
|
# make check # this requires setting up a test database with the correct user
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# make runtests # requires the TESTDB in place
|
|
||||||
|
|
||||||
PYTHON := python$(PYTHON_VERSION)
|
PYTHON := python$(PYTHON_VERSION)
|
||||||
PYTHON_VERSION ?= $(shell $(PYTHON) -c 'import sys; print "%d.%d" % sys.version_info[:2]')
|
PYTHON_VERSION ?= $(shell $(PYTHON) -c 'import sys; print "%d.%d" % sys.version_info[:2]')
|
||||||
|
@ -68,10 +64,6 @@ docs-txt: doc/psycopg2.txt
|
||||||
|
|
||||||
sdist: $(SDIST)
|
sdist: $(SDIST)
|
||||||
|
|
||||||
runtests: package
|
|
||||||
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.
|
||||||
# It is not clean by 'make clean'
|
# It is not clean by 'make clean'
|
||||||
|
|
||||||
|
@ -90,8 +82,7 @@ ez_setup:
|
||||||
wget -O $(EZ_SETUP) http://peak.telecommunity.com/dist/ez_setup.py
|
wget -O $(EZ_SETUP) http://peak.telecommunity.com/dist/ez_setup.py
|
||||||
|
|
||||||
check:
|
check:
|
||||||
$(MAKE) testdb
|
PYTHONPATH=$(BUILD_DIR):.:$(PYTHONPATH) $(PYTHON) tests/__init__.py --verbose
|
||||||
$(MAKE) runtests
|
|
||||||
|
|
||||||
testdb:
|
testdb:
|
||||||
@echo "* Creating $(TESTDB)"
|
@echo "* Creating $(TESTDB)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user