docker: cleanup temp directory after test
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>
This commit is contained in:
parent
4b2c6bc563
commit
08c3f6d57f
@ -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:
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user