Skip to content

Commit

Permalink
tests/docker: alias docker-help target for consistency
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
stsquad committed Feb 8, 2021
1 parent 3971c70 commit 6147c24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ endif
@echo 'Test targets:'
$(call print-help,check,Run all tests (check-help for details))
$(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)
@echo ''
@echo 'Documentation targets:'
Expand Down
4 changes: 3 additions & 1 deletion tests/docker/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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 :=
SPACE := $(NULL) #
Expand Down Expand Up @@ -218,6 +218,8 @@ endif
@echo ' Specify which container engine to run.'
@echo ' REGISTRY=url Cache builds from registry (default:$(DOCKER_REGISTRY))'

docker-help: docker

# This rule if for directly running against an arbitrary docker target.
# It is called by the expanded docker targets (e.g. make
# docker-test-foo@bar) which will do additional verification.
Expand Down

0 comments on commit 6147c24

Please sign in to comment.