[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 05/15] tests/docker: alias docker-help target for consistency
From: |
Alex Bennée |
Subject: |
[PATCH v1 05/15] tests/docker: alias docker-help target for consistency |
Date: |
Tue, 2 Feb 2021 13:39:50 +0000 |
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>
---
v2
- also fix help-on-help text
---
Makefile | 2 +-
tests/docker/Makefile.include | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index b0dff73904..d7fb6b270e 100644
--- a/Makefile
+++ b/Makefile
@@ -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:'
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index bdc53ddfcf..a5c1e4a615 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -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) #
@@ -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.
--
2.20.1
- [PATCH v1 00/15] testing/gdbstub/docs pre-PR, Alex Bennée, 2021/02/02
- [PATCH v1 02/15] tests/docker: Fix typo in help message, Alex Bennée, 2021/02/02
- [PATCH v1 01/15] tests/docker: Fix _get_so_libs() for docker-binfmt-image, Alex Bennée, 2021/02/02
- [PATCH v1 04/15] tests/docker: preserve original name when copying libs, Alex Bennée, 2021/02/02
- [PATCH v1 03/15] tests/docker: make _copy_with_mkdir accept missing files, Alex Bennée, 2021/02/02
- [PATCH v1 05/15] tests/docker: alias docker-help target for consistency,
Alex Bennée <=
- [PATCH v1 06/15] tests/docker: add a docker-exec-copy-test, Alex Bennée, 2021/02/02
- [PATCH v1 08/15] configure: bump the minimum gdb version for check-tcg to 9.1, Alex Bennée, 2021/02/02
- [PATCH v1 09/15] tests/tcg: don't silently skip the gdb tests, Alex Bennée, 2021/02/02
- [PATCH v1 07/15] configure: make version_ge more tolerant of shady version input, Alex Bennée, 2021/02/02
- [PATCH v1 11/15] tests/tcg: Replace /bin/true by true (required on macOS), Alex Bennée, 2021/02/02