From 08c3f6d57f9a95036eed1eea0571eb47605aaef4 Mon Sep 17 00:00:00 2001 From: Peter Xu Date: Tue, 17 Oct 2017 15:12:46 +0800 Subject: docker: cleanup temp directory after test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" CC: Fam Zheng CC: "Philippe Mathieu-Daudé" Signed-off-by: Peter Xu Message-Id: <20171017071247.32355-1-peterx@redhat.com> Reviewed-by: Fam Zheng Signed-off-by: Fam Zheng --- tests/docker/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index ab939f2..38874ec 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: # -- cgit v1.1