mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Makefile: T861: add possibility to pass CLI options to check-qemu-install
We can now pass any arbitrary option to the check-qemu-install script by calling: make test -- --bar-option or make testc -- --foo-option please note the -- which is not a typo but rather signals the end of options and disables further option processing and passes the options down to the next script.
This commit is contained in:
parent
d50707bb29
commit
388efd9f78
17
Makefile
17
Makefile
@ -31,28 +31,29 @@ test-no-interfaces: checkiso
|
||||
.PHONY: testc
|
||||
.ONESHELL:
|
||||
testc: checkiso
|
||||
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso
|
||||
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
.PHONY: testraid
|
||||
.ONESHELL:
|
||||
testraid: checkiso
|
||||
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso
|
||||
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
.PHONY: testtpm
|
||||
.ONESHELL:
|
||||
testtpm: checkiso
|
||||
scripts/check-qemu-install --debug --tpmtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
.PHONY: qemu-live
|
||||
.ONESHELL:
|
||||
qemu-live: checkiso
|
||||
scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso
|
||||
scripts/check-qemu-install --qemu-cmd --uefi build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
|
||||
.PHONE: oci
|
||||
.ONESHELL:
|
||||
oci: checkiso
|
||||
scripts/iso-to-oci build/live-image-amd64.hybrid.iso
|
||||
|
||||
.PHONY: testtpm
|
||||
.ONESHELL:
|
||||
testtpm: checkiso
|
||||
scripts/check-qemu-install --debug --tpmtest build/live-image-amd64.hybrid.iso
|
||||
|
||||
.PHONY: clean
|
||||
.ONESHELL:
|
||||
clean:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user