aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorvagrant <vagrant@localhost.localdomain>2017-04-07 01:48:47 +0000
committerFlorin Coras <florin.coras@gmail.com>2017-04-19 07:12:23 +0000
commit937bf30183d39859c4a0717fa1a801cd556cfcfa (patch)
tree0cc8f754eda411866306cbc346b8a1d57d1cb0c5 /Makefile
parentd367768270a3d19447af1a7059068e1f20fd15a6 (diff)
make test: python interpreter customization
Allow using custom python interpreter via 'PYTHON' env variable. E.g. env PYTHON=pypy make test. Get latest pip automatically to properly function in environments, where old pip is available and a proxy is required. This allows testing pypy in a centos vagrant-provided vm. Change-Id: I67a658fc927303468cc67f0ac192317ca2907625 Signed-off-by: Klement Sekera <ksekera@cisco.com> Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8964329b..133c3d45 100644
--- a/Makefile
+++ b/Makefile
@@ -252,6 +252,7 @@ define test
VPP_TEST_INSTALL_PATH=$(BR)/install-$(2)-native/ \
LD_LIBRARY_PATH=$(BR)/install-$(2)-native/vpp/lib64/ \
EXTENDED_TESTS=$(EXTENDED_TESTS) \
+ PYTHON=$(PYTHON) \
$(3)
endef