]>
Commit | Line | Data |
---|---|---|
a157d0fd FG |
1 | all: test |
2 | ||
c62d7cf5 | 3 | test: test_snapshot test_ovf test_cfg_to_cmd test_pci_addr_conflicts test_qemu_img_convert test_migration test_restore_config |
a157d0fd FG |
4 | |
5 | test_snapshot: run_snapshot_tests.pl | |
6 | ./run_snapshot_tests.pl | |
3097a06b | 7 | ./test_get_replicatable_volumes.pl |
5fd0910b EK |
8 | |
9 | test_ovf: run_ovf_tests.pl | |
10 | ./run_ovf_tests.pl | |
7b963e57 TL |
11 | |
12 | test_cfg_to_cmd: run_config2command_tests.pl cfg2cmd/*.conf | |
13 | perl -I../ ./run_config2command_tests.pl | |
d7d698f6 | 14 | |
458a2b26 DC |
15 | test_qemu_img_convert: run_qemu_img_convert_tests.pl |
16 | perl -I../ ./run_qemu_img_convert_tests.pl | |
17 | ||
d7d698f6 TL |
18 | test_pci_addr_conflicts: run_pci_addr_checks.pl |
19 | ./run_pci_addr_checks.pl | |
48831384 | 20 | |
a7547a7c | 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)) |
aac89f6c | 22 | |
0494299f FE |
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_%=%) | |
0435f879 | 27 | |
c62d7cf5 FE |
28 | test_restore_config: run_qemu_restore_config_tests.pl |
29 | ./run_qemu_restore_config_tests.pl | |
30 | ||
0435f879 TL |
31 | .PHONY: clean |
32 | clean: | |
33 | rm -rf MigrationTest/run |