]> git.proxmox.com Git - qemu-server.git/blob - test/Makefile
schema: fix description of migrate_downtime parameter
[qemu-server.git] / test / Makefile
1 all: test
2
3 test: test_snapshot test_ovf test_cfg_to_cmd test_pci_addr_conflicts test_qemu_img_convert test_migration test_restore_config
4
5 test_snapshot: run_snapshot_tests.pl
6 ./run_snapshot_tests.pl
7 ./test_get_replicatable_volumes.pl
8
9 test_ovf: run_ovf_tests.pl
10 ./run_ovf_tests.pl
11
12 test_cfg_to_cmd: run_config2command_tests.pl cfg2cmd/*.conf
13 perl -I../ ./run_config2command_tests.pl
14
15 test_qemu_img_convert: run_qemu_img_convert_tests.pl
16 perl -I../ ./run_qemu_img_convert_tests.pl
17
18 test_pci_addr_conflicts: run_pci_addr_checks.pl
19 ./run_pci_addr_checks.pl
20
21 MIGRATION_TEST_TARGETS := $(addprefix test_migration_,$(shell perl -ne 'print "$$1 " if /^\s*name\s*=>\s*["'\'']([^\s"'\'']+)["'\'']\s*,\s*$$/; END { print "\n" }' run_qemu_migrate_tests.pl))
22
23 test_migration: run_qemu_migrate_tests.pl MigrationTest/*.pm $(MIGRATION_TEST_TARGETS)
24
25 $(MIGRATION_TEST_TARGETS):
26 ./run_qemu_migrate_tests.pl $(@:test_migration_%=%)
27
28 test_restore_config: run_qemu_restore_config_tests.pl
29 ./run_qemu_restore_config_tests.pl
30
31 .PHONY: clean
32 clean:
33 rm -rf MigrationTest/run