[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/15] tests/docker: remove test targets
From: |
Alex Bennée |
Subject: |
Re: [PATCH 02/15] tests/docker: remove test targets |
Date: |
Mon, 28 Mar 2022 17:44:25 +0100 |
User-agent: |
mu4e 1.7.11; emacs 28.0.92 |
Paolo Bonzini <pbonzini@redhat.com> writes:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> tests/docker/Makefile.include | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
> index a6a5a20949..8248cfdb4f 100644
> --- a/tests/docker/Makefile.include
> +++ b/tests/docker/Makefile.include
> @@ -99,24 +99,6 @@ docker-binfmt-image-debian-%:
> $(DOCKER_FILES_DIR)/debian-bootstrap.docker
> { echo "You will need to build $(EXECUTABLE)"; exit
> 1;},\
> "CHECK", "debian-$* exists"))
>
> -# These are test targets
> -USER_TCG_TARGETS=$(patsubst %-linux-user,qemu-%,$(filter
> %-linux-user,$(TARGET_DIRS)))
> -EXEC_COPY_TESTS=$(patsubst %,docker-exec-copy-test-%, $(USER_TCG_TARGETS))
> -
> -$(EXEC_COPY_TESTS): docker-exec-copy-test-%:
> $(DOCKER_FILES_DIR)/empty.docker
Should probably clean-up the empty.docker while you are at it. It's a
niche command but I wonder how we would copy new tests now?
> - $(call quiet-command,
> \
> - $(DOCKER_SCRIPT) build -t qemu/exec-copy-test-$* -f $<
> \
> - $(if $V,,--quiet) --no-cache
> \
> - --include-executable=$*
> \
> - --skip-binfmt,
> \
> - "TEST","copy $* to container")
> - $(call quiet-command,
> \
> - $(DOCKER_SCRIPT) run qemu/exec-copy-test-$*
> \
> - /$* -version > tests/docker-exec-copy-test-$*.out,
> \
> - "TEST","check $* works in container")
> -
> -docker-exec-copy-test: $(EXEC_COPY_TESTS)
> -
> endif
>
> # Enforce dependencies for composite images
--
Alex Bennée
- [PATCH 00/15] tests/docker and tests/tcg cleanup and diet, Paolo Bonzini, 2022/03/28
- [PATCH 02/15] tests/docker: remove test targets, Paolo Bonzini, 2022/03/28
- Re: [PATCH 02/15] tests/docker: remove test targets,
Alex Bennée <=
- [PATCH 05/15] tests/docker: inline variable definitions or move close to use, Paolo Bonzini, 2022/03/28
- [PATCH 08/15] tests/tcg: add compiler test variables when using containers, Paolo Bonzini, 2022/03/28
- [PATCH 14/15] tests/docker: remove SKIP_DOCKER_BUILD, Paolo Bonzini, 2022/03/28
- [PATCH 01/15] tests/docker: remove dead code, Paolo Bonzini, 2022/03/28
- [PATCH 04/15] tests/docker: remove unnecessary default definitions, Paolo Bonzini, 2022/03/28