summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-09 20:01:58 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-14 20:04:54 +0200
commit4727dc17566a85eb15c95ac97511bf6452352adb (patch)
treec1b7a021cfdc0a935c218d487657befaadd1fa7e /Makefile
parente7c29ed7be44e33a1b804f93deceefa1b82790df (diff)
downloadvyos-build-4727dc17566a85eb15c95ac97511bf6452352adb.tar.gz
vyos-build-4727dc17566a85eb15c95ac97511bf6452352adb.zip
smoketest: Allow selection of smoketests to run
Example: `make test MATCH="interfaces|policy"` will only run interfaces and policy tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 74b17c7c..5ba003d0 100644
--- a/Makefile
+++ b/Makefile
@@ -32,12 +32,12 @@ checkiso:
.PHONY: test
.ONESHELL:
test: checkiso
- scripts/check-qemu-install --debug --uefi build/live-image-amd64.hybrid.iso
+ scripts/check-qemu-install --debug --match="$(MATCH)" --uefi build/live-image-amd64.hybrid.iso
.PHONY: test-no-interfaces
.ONESHELL:
test-no-interfaces: checkiso
- scripts/check-qemu-install --debug --no-interfaces build/live-image-amd64.hybrid.iso
+ scripts/check-qemu-install --debug --match="$(MATCH)" --no-interfaces build/live-image-amd64.hybrid.iso
.PHONY: testd
.ONESHELL: