aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2024-05-09 10:46:58 +0200
committerMatus Fabian <matfabia@cisco.com>2024-05-09 10:46:58 +0200
commit2d1bc4c9fe9b914d8172cb7903e47de52ff83fae (patch)
treeed15d97326855fd6af6b27d12ccc2304c2d9e7b4 /extras
parente4238aa34f89ff8b60243978ade55828662d268a (diff)
hs-test: add make test-debug target
Run tests on vpp debug build. Type: test Change-Id: I51e6f4ac9449c1c5b7eb649af91347188f9227e1 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/hs-test/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/extras/hs-test/Makefile b/extras/hs-test/Makefile
index d4e699940d1..54b95c3d1cd 100644
--- a/extras/hs-test/Makefile
+++ b/extras/hs-test/Makefile
@@ -50,6 +50,7 @@ list_tests = @go run github.com/onsi/ginkgo/v2/ginkgo --dry-run -v --no-color --
help:
@echo "Make targets:"
@echo " test - run tests"
+ @echo " test-debug - run tests (vpp debug image)"
@echo " build - build test infra"
@echo " build-debug - build test infra (vpp debug image)"
@echo " build-go - just build golang files"
@@ -89,12 +90,21 @@ build-vpp-debug:
.build.ok: build
@touch .build.ok
+.build_debug.ok: build-debug
+ @touch .build.ok
+
.PHONY: test
test: .deps.ok .build.ok
@bash ./test --persist=$(PERSIST) --verbose=$(VERBOSE) \
--unconfigure=$(UNCONFIGURE) --debug=$(DEBUG) --test=$(TEST) --cpus=$(CPUS) \
--vppsrc=$(VPPSRC) --parallel=$(PARALLEL) --repeat=$(REPEAT)
+.PHONY: test-debug
+test-debug: .deps.ok .build_debug.ok
+ @bash ./test --persist=$(PERSIST) --verbose=$(VERBOSE) \
+ --unconfigure=$(UNCONFIGURE) --debug=$(DEBUG) --test=$(TEST) --cpus=$(CPUS) \
+ --vppsrc=$(VPPSRC) --parallel=$(PARALLEL) --repeat=$(REPEAT)
+
.PHONY: build-go
build-go:
go build ./tools/http_server