]> Git Repo - qemu.git/commitdiff
docker: cleanup temp directory after test
authorPeter Xu <[email protected]>
Tue, 17 Oct 2017 07:12:46 +0000 (15:12 +0800)
committerFam Zheng <[email protected]>
Fri, 20 Oct 2017 06:28:50 +0000 (14:28 +0800)
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" <[email protected]>
CC: Fam Zheng <[email protected]>
CC: "Philippe Mathieu-Daudé" <[email protected]>
Signed-off-by: Peter Xu <[email protected]>
Message-Id: <20171017071247[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Signed-off-by: Fam Zheng <[email protected]>
tests/docker/Makefile.include

index ab939f2bec7bd2c1ded300d26828dd974e953765..38874ec03d977d327d6808e355394db503bc0b75 100644 (file)
@@ -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:
 #
This page took 0.025813 seconds and 4 git commands to generate.