X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fhs-test%2FMakefile;h=29cbd0ea01efb5204b9f71cad439776f746c2e4e;hb=ec5c40b83acae400a8cc1a18ad897b6365774559;hp=268a518b7ca35982ef62955cd19239ec5823b2fa;hpb=2da99e50722f258618fa5fe53f93e603c97d4fe3;p=vpp.git diff --git a/extras/hs-test/Makefile b/extras/hs-test/Makefile index 268a518b7ca..29cbd0ea01e 100644 --- a/extras/hs-test/Makefile +++ b/extras/hs-test/Makefile @@ -15,6 +15,10 @@ ifeq ($(TEST),) TEST=all endif +ifeq ($(DEBUG),) +DEBUG=false +endif + list_tests = @(grep -r ') Test' *_test.go | cut -d '*' -f2 | cut -d '(' -f1 | \ tr -d ' ' | tr ')' '/' | sed 's/Suite//') @@ -33,6 +37,7 @@ help: @echo " PERSIST=[true|false] - whether clean up topology and dockers after test" @echo " VERBOSE=[true|false] - verbose output" @echo " UNCONFIGURE=[true|false] - unconfigure selected test" + @echo " DEBUG=[true|false] - attach VPP to GDB" @echo " TEST=[test-name] - specific test to run" @echo @echo "List of all tests:" @@ -51,7 +56,7 @@ build-vpp-debug: .PHONY: test test: .deps.ok .build.vpp @bash ./test --persist=$(PERSIST) --verbose=$(VERBOSE) \ - --unconfigure=$(UNCONFIGURE) --test=$(TEST) + --unconfigure=$(UNCONFIGURE) --debug=$(DEBUG) --test=$(TEST) build-go: go build ./tools/http_server