Python3 needs to use nosetests3

This commit is contained in:
Raúl Marín 2019-12-19 16:58:35 +01:00
parent e721830bc7
commit 550e514726

View File

@ -5,7 +5,6 @@ EXTVERSION = $(shell grep default_version $(SELF_DIR)/src/pg/$(EXTENSION)
RELEASE_VERSION ?= $(EXTVERSION) RELEASE_VERSION ?= $(EXTVERSION)
SED = sed SED = sed
NOSETESTS = nosetests
AWK = awk AWK = awk
PG_CONFIG = pg_config PG_CONFIG = pg_config
@ -17,6 +16,8 @@ PYTHON3 ?= $(PG_12plus)
ifeq ($(PYTHON3), true) ifeq ($(PYTHON3), true)
PIP := python3 -m pip PIP := python3 -m pip
NOSETESTS = nosetests3
else else
PIP := python2 -m pip PIP := python2 -m pip
NOSETESTS = nosetests
endif endif