summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-03-16 09:14:59 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-22 10:48:26 +0000
commit993e0edf4e8078d10ddd5efa8156d62ce8f9d0c5 (patch)
tree146fcedb0160e61a826881d39202a12e759773d1 /Makefile
parentfa80f2e421e7e85f429437aad2da9971a2a60a24 (diff)
make test: support out-of-tree tests
env EXTERN_TESTS="/path/to/extra/tests" make test causes to run the default test set and tests collected from test_*.py files under subtree specified in EXTERN_TESTS. Change-Id: I58c5471dd6010730278a5b47d4318737d920bc28 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 445470673db..36d37bf697a 100644
--- a/Makefile
+++ b/Makefile
@@ -222,6 +222,7 @@ export VPP_PYTHON_PREFIX=$(BR)/python
define test
$(if $(filter-out $(3),retest),make -C $(BR) PLATFORM=$(1) TAG=$(2) vpp-install,)
make -C test \
+ TEST_DIR=$(WS_ROOT)/test \
VPP_TEST_BUILD_DIR=$(BR)/build-$(2)-native \
VPP_TEST_BIN=$(BR)/install-$(2)-native/vpp/bin/vpp \
VPP_TEST_PLUGIN_PATH=$(BR)/install-$(2)-native/vpp/lib64/vpp_plugins \
@@ -252,10 +253,10 @@ test-wipe:
@make -C test wipe
test-shell: bootstrap
- $(call test,vpp_lite,vpp_lite,shell)
+ $(call test,vpp,vpp,shell)
test-shell-debug: bootstrap
- $(call test,vpp_lite,vpp_lite_debug,shell)
+ $(call test,vpp,vpp_debug,shell)
test-doc:
@make -C test doc