]>
Commit | Line | Data |
---|---|---|
0494299f FE |
1 | MIGRATION_TEST_NAMES := $(shell ./run_qemu_migrate_tests.pl DUMP_NAMES) |
2 | MIGRATION_TEST_TARGETS := $(addprefix test_migration_,$(MIGRATION_TEST_NAMES)) | |
3 | ||
a157d0fd FG |
4 | all: test |
5 | ||
c62d7cf5 | 6 | test: test_snapshot test_ovf test_cfg_to_cmd test_pci_addr_conflicts test_qemu_img_convert test_migration test_restore_config |
a157d0fd FG |
7 | |
8 | test_snapshot: run_snapshot_tests.pl | |
9 | ./run_snapshot_tests.pl | |
3097a06b | 10 | ./test_get_replicatable_volumes.pl |
5fd0910b EK |
11 | |
12 | test_ovf: run_ovf_tests.pl | |
13 | ./run_ovf_tests.pl | |
7b963e57 TL |
14 | |
15 | test_cfg_to_cmd: run_config2command_tests.pl cfg2cmd/*.conf | |
16 | perl -I../ ./run_config2command_tests.pl | |
d7d698f6 | 17 | |
458a2b26 DC |
18 | test_qemu_img_convert: run_qemu_img_convert_tests.pl |
19 | perl -I../ ./run_qemu_img_convert_tests.pl | |
20 | ||
d7d698f6 TL |
21 | test_pci_addr_conflicts: run_pci_addr_checks.pl |
22 | ./run_pci_addr_checks.pl | |
48831384 | 23 | |
0494299f FE |
24 | test_migration: run_qemu_migrate_tests.pl MigrationTest/*.pm $(MIGRATION_TEST_TARGETS) |
25 | ||
26 | $(MIGRATION_TEST_TARGETS): | |
27 | ./run_qemu_migrate_tests.pl $(@:test_migration_%=%) | |
0435f879 | 28 | |
c62d7cf5 FE |
29 | test_restore_config: run_qemu_restore_config_tests.pl |
30 | ./run_qemu_restore_config_tests.pl | |
31 | ||
0435f879 TL |
32 | .PHONY: clean |
33 | clean: | |
34 | rm -rf MigrationTest/run |