Makefile: Rename the 'vm-test' target as 'vm-help'
We already have 'make check-help', use the 'make vm-help' form to display helps about VM testing. Keep the old target to not bother old customs. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20190531064341.29730-1-philmd@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
71451cff5e
commit
4f2f62762f
4
Makefile
4
Makefile
@ -13,7 +13,7 @@ SRC_PATH=.
|
|||||||
UNCHECKED_GOALS := %clean TAGS cscope ctags dist \
|
UNCHECKED_GOALS := %clean TAGS cscope ctags dist \
|
||||||
html info pdf txt \
|
html info pdf txt \
|
||||||
help check-help print-% \
|
help check-help print-% \
|
||||||
docker docker-% vm-test vm-build-%
|
docker docker-% vm-help vm-test vm-build-%
|
||||||
|
|
||||||
print-%:
|
print-%:
|
||||||
@echo '$*=$($*)'
|
@echo '$*=$($*)'
|
||||||
@ -1153,7 +1153,7 @@ endif
|
|||||||
@echo 'Test targets:'
|
@echo 'Test targets:'
|
||||||
@echo ' check - Run all tests (check-help for details)'
|
@echo ' check - Run all tests (check-help for details)'
|
||||||
@echo ' docker - Help about targets running tests inside Docker containers'
|
@echo ' docker - Help about targets running tests inside Docker containers'
|
||||||
@echo ' vm-test - Help about targets running tests inside VM'
|
@echo ' vm-help - Help about targets running tests inside VM'
|
||||||
@echo ''
|
@echo ''
|
||||||
@echo 'Documentation targets:'
|
@echo 'Documentation targets:'
|
||||||
@echo ' html info pdf txt'
|
@echo ' html info pdf txt'
|
||||||
|
@ -399,12 +399,12 @@ VM testing
|
|||||||
|
|
||||||
This test suite contains scripts that bootstrap various guest images that have
|
This test suite contains scripts that bootstrap various guest images that have
|
||||||
necessary packages to build QEMU. The basic usage is documented in ``Makefile``
|
necessary packages to build QEMU. The basic usage is documented in ``Makefile``
|
||||||
help which is displayed with ``make vm-test``.
|
help which is displayed with ``make vm-help``.
|
||||||
|
|
||||||
Quickstart
|
Quickstart
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Run ``make vm-test`` to list available make targets. Invoke a specific make
|
Run ``make vm-help`` to list available make targets. Invoke a specific make
|
||||||
command to run build test in an image. For example, ``make vm-build-freebsd``
|
command to run build test in an image. For example, ``make vm-build-freebsd``
|
||||||
will build the source tree in the FreeBSD image. The command can be executed
|
will build the source tree in the FreeBSD image. The command can be executed
|
||||||
from either the source tree or the build dir; if the former, ``./configure`` is
|
from either the source tree or the build dir; if the former, ``./configure`` is
|
||||||
|
@ -8,8 +8,9 @@ IMAGE_FILES := $(patsubst %, $(IMAGES_DIR)/%.img, $(IMAGES))
|
|||||||
|
|
||||||
.PRECIOUS: $(IMAGE_FILES)
|
.PRECIOUS: $(IMAGE_FILES)
|
||||||
|
|
||||||
vm-test:
|
# 'vm-help' target was historically named 'vm-test'
|
||||||
@echo "vm-test: Test QEMU in preconfigured virtual machines"
|
vm-help vm-test:
|
||||||
|
@echo "vm-help: Test QEMU in preconfigured virtual machines"
|
||||||
@echo
|
@echo
|
||||||
@echo " vm-build-ubuntu.i386 - Build QEMU in ubuntu i386 VM"
|
@echo " vm-build-ubuntu.i386 - Build QEMU in ubuntu i386 VM"
|
||||||
@echo " vm-build-freebsd - Build QEMU in FreeBSD VM"
|
@echo " vm-build-freebsd - Build QEMU in FreeBSD VM"
|
||||||
|
Loading…
Reference in New Issue
Block a user