mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-02-15 05:57:39 +03:00
Add tests for the qemu_img_convert parameters to the resulting 'qemu-img convert' call we mock the 'run_command' and extract the 'cmd' parameter to compare with what we expect Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
20 lines
525 B
Makefile
20 lines
525 B
Makefile
all: test
|
|
|
|
test: test_snapshot test_ovf test_cfg_to_cmd test_pci_addr_conflicts test_qemu_img_convert
|
|
|
|
test_snapshot: run_snapshot_tests.pl
|
|
./run_snapshot_tests.pl
|
|
./test_get_replicatable_volumes.pl
|
|
|
|
test_ovf: run_ovf_tests.pl
|
|
./run_ovf_tests.pl
|
|
|
|
test_cfg_to_cmd: run_config2command_tests.pl cfg2cmd/*.conf
|
|
perl -I../ ./run_config2command_tests.pl
|
|
|
|
test_qemu_img_convert: run_qemu_img_convert_tests.pl
|
|
perl -I../ ./run_qemu_img_convert_tests.pl
|
|
|
|
test_pci_addr_conflicts: run_pci_addr_checks.pl
|
|
./run_pci_addr_checks.pl
|