aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-03-09 08:01:52 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-09 20:06:58 +0000
commita86e289570dfb7e02c47bed023c0669f3804a8bd (patch)
tree46af63b78fd7fb5d7d61004716ad9527d4b21e59 /Makefile
parent80f54e20270ed0628ee725e3e3c515731a0188f2 (diff)
make test: add make test-shell[-debug] targets
This starts a bash with the same environment as the test framework uses, allowing easy debugging. Change-Id: I956deda913b73dae5b1e1976417834ae4731f88a Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7faba3b61ef..f0173cc1757 100644
--- a/Makefile
+++ b/Makefile
@@ -86,6 +86,8 @@ help:
@echo " test-debug - build and run (basic) functional tests (debug build)"
@echo " test-all - build and run (all) functional tests"
@echo " test-all-debug - build and run (all) functional tests (debug build)"
+ @echo " test-shell - enter shell with test environment"
+ @echo " test-shell-debug - enter shell with test environment (debug build)"
@echo " test-wipe - wipe files generated by unit tests"
@echo " retest - run functional tests"
@echo " retest-debug - run functional tests (debug build)"
@@ -247,6 +249,12 @@ test-help:
test-wipe:
@make -C test wipe
+test-shell: bootstrap
+ $(call test,vpp_lite,vpp_lite,shell)
+
+test-shell-debug: bootstrap
+ $(call test,vpp_lite,vpp_lite_debug,shell)
+
test-doc:
@make -C test doc