[pve-devel] [PATCH v2 qemu-server 2/2] tests: remove migration test run dir with make clean
Fabian Ebner
f.ebner at proxmox.com
Mon Jan 11 15:00:24 CET 2021
Suggested-by: Stefan Reiter <s.reiter at proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
New in v2.
Makefile | 1 +
test/Makefile | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/Makefile b/Makefile
index 457eaef..9707fb5 100644
--- a/Makefile
+++ b/Makefile
@@ -111,6 +111,7 @@ upload: ${DEB}
clean:
rm -rf $(PACKAGE)-*/ *.deb *.buildinfo *.changes *.dsc $(PACKAGE)_*.tar.gz
$(MAKE) cleanup-docgen
+ $(MAKE) -C test $@
find . -name '*~' -exec rm {} ';'
diff --git a/test/Makefile b/test/Makefile
index 29b9db6..b784da7 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -25,3 +25,7 @@ test_migration: run_qemu_migrate_tests.pl MigrationTest/*.pm $(MIGRATION_TEST_TA
$(MIGRATION_TEST_TARGETS):
./run_qemu_migrate_tests.pl $(@:test_migration_%=%)
+
+.PHONY: clean
+clean:
+ rm -rf ./MigrationTest/run/
--
2.20.1
More information about the pve-devel
mailing list