All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: Peter Xu <peterx@redhat.com>
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: [Qemu-devel] [PATCH] docker: cleanup temp directory after test
Date: Tue, 17 Oct 2017 16:12:42 +0800	[thread overview]
Message-ID: <20171017081242.GB13504@lemon> (raw)
In-Reply-To: <20171017071247.32355-1-peterx@redhat.com>

On Tue, 10/17 15:12, Peter Xu wrote:
> There are temp directories named "docker-src.*" after doing docker
> tests.  I don't see much point in keeping that (it only contains the
> qemu.tar which is exactly current tree, and the copied "run" file).
> Let's remove it after test finished.
> 
> CC: "Alex Bennée" <alex.bennee@linaro.org>
> CC: Fam Zheng <famz@redhat.com>
> CC: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
>  tests/docker/Makefile.include | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
> index 6f9ea196a7..c8fbd37127 100644
> --- a/tests/docker/Makefile.include
> +++ b/tests/docker/Makefile.include
> @@ -151,6 +151,8 @@ docker-run: docker-qemu-src
>  			$(IMAGE) 					\
>  			/var/tmp/qemu/run 				\
>  			$(TEST), "  RUN $(TEST) in ${IMAGE}")
> +	$(call quiet-command, rm -r $(DOCKER_SRC_COPY), \
> +		"  CLEANUP $(DOCKER_SRC_COPY)")
>  
>  # Run targets:
>  #
> -- 
> 2.13.5
> 
> 

Reviewed-by: Fam Zheng <famz@redhat.com>

  reply	other threads:[~2017-10-17  8:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-17  7:12 [Qemu-devel] [PATCH] docker: cleanup temp directory after test Peter Xu
2017-10-17  8:12 ` Fam Zheng [this message]
2017-10-18  7:31 ` Fam Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171017081242.GB13504@lemon \
    --to=famz@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=f4bug@amsat.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.