PERSIST=false
endif
+ifeq ($(UNCONFIGURE),)
+UNCONFIGURE=false
+endif
+
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//')
@echo " UBUNTU_VERSION - ubuntu version for docker image"
@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:"
.PHONY: test
test: .deps.ok .build.vpp
- @bash ./test --persist=$(PERSIST) --verbose=$(VERBOSE) --test=$(TEST)
+ @bash ./test --persist=$(PERSIST) --verbose=$(VERBOSE) \
+ --unconfigure=$(UNCONFIGURE) --debug=$(DEBUG) --test=$(TEST)
build-go:
go build ./tools/http_server