tests/docker: alias docker-help target for consistency

We have a bunch of -help targets so this will save some cognitive
dissonance. Keep the original for those with muscle memory.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210202134001.25738-6-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2021-02-02 13:39:50 +00:00
parent 3971c70f15
commit 6147c2495d
2 changed files with 4 additions and 2 deletions

View File

@ -305,7 +305,7 @@ endif
@echo 'Test targets:' @echo 'Test targets:'
$(call print-help,check,Run all tests (check-help for details)) $(call print-help,check,Run all tests (check-help for details))
$(call print-help,bench,Run all benchmarks) $(call print-help,bench,Run all benchmarks)
$(call print-help,docker,Help about targets running tests inside containers) $(call print-help,docker-help,Help about targets running tests inside containers)
$(call print-help,vm-help,Help about targets running tests inside VM) $(call print-help,vm-help,Help about targets running tests inside VM)
@echo '' @echo ''
@echo 'Documentation targets:' @echo 'Documentation targets:'

View File

@ -1,6 +1,6 @@
# Makefile for Docker tests # Makefile for Docker tests
.PHONY: docker docker-test docker-clean docker-image docker-qemu-src .PHONY: docker docker-help docker-test docker-clean docker-image docker-qemu-src
NULL := NULL :=
SPACE := $(NULL) # SPACE := $(NULL) #
@ -218,6 +218,8 @@ endif
@echo ' Specify which container engine to run.' @echo ' Specify which container engine to run.'
@echo ' REGISTRY=url Cache builds from registry (default:$(DOCKER_REGISTRY))' @echo ' REGISTRY=url Cache builds from registry (default:$(DOCKER_REGISTRY))'
docker-help: docker
# This rule if for directly running against an arbitrary docker target. # This rule if for directly running against an arbitrary docker target.
# It is called by the expanded docker targets (e.g. make # It is called by the expanded docker targets (e.g. make
# docker-test-foo@bar) which will do additional verification. # docker-test-foo@bar) which will do additional verification.