The images are big. Add a rule to clean up easily. Suggested-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Fam Zheng <f...@redhat.com> --- tests/vm/Makefile.include | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index 5daa2a3b73..79e7866c8b 100644 --- a/tests/vm/Makefile.include +++ b/tests/vm/Makefile.include @@ -1,6 +1,6 @@ # Makefile for VM tests -.PHONY: vm-build-all +.PHONY: vm-build-all vm-clean-all IMAGES := ubuntu.i386 freebsd netbsd openbsd IMAGE_FILES := $(patsubst %, tests/vm/%.img, $(IMAGES)) @@ -17,6 +17,9 @@ vm-test: vm-build-all: $(addprefix vm-build-, $(IMAGES)) +vm-clean-all: + rm -f $(IMAGE_FILES) + tests/vm/%.img: $(SRC_PATH)/tests/vm/% \ $(SRC_PATH)/tests/vm/basevm.py \ $(SRC_PATH)/tests/vm/Makefile.include -- 2.17.1