aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/Makefile
diff options
context:
space:
mode:
authorMaros Ondrejicka <mondreji@cisco.com>2023-02-27 16:52:57 +0100
committerFlorin Coras <florin.coras@gmail.com>2023-02-28 16:36:41 +0000
commitaf004ddad1231682d0a64ce9671e2619c2910c7a (patch)
treec0631b738b8f024f5ad12ceddbbce54651ceacca /extras/hs-test/Makefile
parent32881935bb82b009528ba5a930b4399bad26abfd (diff)
hs-test: add option to unconfigure topology
Adding `UNCONFIGURE=true` argument when running `make test` will skip test run and unconfigure existing topology for that test. Type: test Signed-off-by: Maros Ondrejicka <mondreji@cisco.com> Change-Id: I197747a56ca68807f0b2c3f25b6f61c3dcc41ace
Diffstat (limited to 'extras/hs-test/Makefile')
-rw-r--r--extras/hs-test/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/extras/hs-test/Makefile b/extras/hs-test/Makefile
index 7460026ed52..a392c14871a 100644
--- a/extras/hs-test/Makefile
+++ b/extras/hs-test/Makefile
@@ -7,6 +7,10 @@ ifeq ($(PERSIST),)
PERSIST=false
endif
+ifeq ($(UNCONFIGURE),)
+UNCONFIGURE=false
+endif
+
ifeq ($(TEST),)
TEST=all
endif
@@ -45,7 +49,8 @@ build-vpp-debug:
.PHONY: test
test: .deps.ok .build.vpp
- @bash ./test --persist=$(PERSIST) --verbose=$(VERBOSE) --test=$(TEST)
+ @bash ./test --persist=$(PERSIST) --verbose=$(VERBOSE) \
+ --unconfigure=$(UNCONFIGURE) --test=$(TEST)
build-go:
go build ./tools/http_server