From: Fam Zheng <famz@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>
Subject: [Qemu-devel] [PULL 2/5] docker: cleanup temp directory after test
Date: Fri, 20 Oct 2017 14:32:16 +0800 [thread overview]
Message-ID: <20171020063219.2035-3-famz@redhat.com> (raw)
In-Reply-To: <20171020063219.2035-1-famz@redhat.com>
From: Peter Xu <peterx@redhat.com>
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>
Message-Id: <20171017071247.32355-1-peterx@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Fam Zheng <famz@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 ab939f2bec..38874ec03d 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
next prev parent reply other threads:[~2017-10-20 6:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-20 6:32 [Qemu-devel] [PULL 0/5] Docker patches Fam Zheng
2017-10-20 6:32 ` [Qemu-devel] [PULL 1/5] docker: Don't allocate tty unless DEBUG=1 Fam Zheng
2017-10-20 6:32 ` Fam Zheng [this message]
2017-10-20 6:32 ` [Qemu-devel] [PULL 3/5] docker: allow running from srcdir != builddir build Fam Zheng
2017-10-20 6:32 ` [Qemu-devel] [PULL 4/5] docker: fix out-of-tree 'make docker-test-build@debian-powerpc-cross' Fam Zheng
2017-10-20 6:32 ` [Qemu-devel] [PULL 5/5] docker: Fix PATH for ccache Fam Zheng
2017-10-20 12:33 ` [Qemu-devel] [PULL 0/5] Docker patches Peter Maydell
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=20171020063219.2035-3-famz@redhat.com \
--to=famz@redhat.com \
--cc=peter.maydell@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).