KVM test: Try to load subtests from a shared tests location
[autotest-zwu.git] / client / tests / kvm / tests.cfg.sample
blob02a70025742bac04622891b715c762224ccaa550
1 # Copy this file to tests.cfg and edit it.
3 # This file contains the test set definitions. Define your test sets here.
4 include tests_base.cfg
5 include cdkeys.cfg
7 # Modify/comment the following lines if you wish to modify the paths of the
8 # image files, ISO files or qemu binaries.
10 # As for the defaults:
11 # * qemu and qemu-img are expected to be found under /usr/bin/qemu-kvm and
12 #   /usr/bin/qemu-img respectively.
13 # * All image files are expected under /tmp/kvm_autotest_root/images/
14 # * All install iso files are expected under /tmp/kvm_autotest_root/isos/
15 # * The parameters cdrom_unattended, floppy, kernel and initrd are generated
16 #   by KVM autotest, so remember to put them under a writable location
17 #   (for example, the cdrom share can be read only)
18 image_name(_.*)? ?<= /tmp/kvm_autotest_root/images/
19 cdrom(_.*)? ?<= /tmp/kvm_autotest_root/
20 floppy ?<= /tmp/kvm_autotest_root/
21 Linux..unattended_install:
22     kernel ?<= /tmp/kvm_autotest_root/
23     initrd ?<= /tmp/kvm_autotest_root/
25 # Here are the test sets variants. The variant 'qemu_kvm_windows_quick' is
26 # fully commented, the following ones have comments only on noteworthy points
27 variants:
28     # Runs all variants defined. HUGE test set.
29     - @full:
31     # Runs qemu-kvm, Windows Vista 64 bit guest OS, install, boot, shutdown
32     - @qemu_kvm_windows_quick:
33         # We want qemu-kvm for this run
34         qemu_binary = /usr/bin/qemu-kvm
35         qemu_img_binary = /usr/bin/qemu-img
36         # Only qcow2 file format
37         only qcow2
38         # Only rtl8139 for nw card (default on qemu-kvm)
39         only rtl8139
40         # Only ide hard drives
41         only ide
42         # qemu-kvm will start only with -smp 2 (2 processors)
43         only smp2
44         # No PCI assignable devices
45         only no_pci_assignable
46         # No large memory pages
47         only smallpages
48         # Operating system choice
49         only Win7.64
50         # Subtest choice. You can modify that line to add more subtests
51         only unattended_install.cdrom, boot, shutdown
53     # Runs qemu, f14 64 bit guest OS, install, boot, shutdown
54     - @qemu_f14_quick:
55         # We want qemu for this run
56         qemu_binary = /usr/bin/qemu
57         qemu_img_binary = /usr/bin/qemu-img
58         only qcow2
59         # The default nw card for qemu is e1000
60         only e1000
61         only ide
62         # qemu using kvm doesn't support smp yet
63         only up
64         only no_pci_assignable
65         only smallpages
66         only Fedora.14.64
67         only unattended_install.cdrom, boot, shutdown
68         # qemu needs -enable-kvm on the cmdline
69         extra_params += ' -enable-kvm'
71     # Runs qemu-kvm, f14 64 bit guest OS, install, boot, shutdown
72     - @qemu_kvm_f14_quick:
73         # We want qemu-kvm for this run
74         qemu_binary = /usr/bin/qemu-kvm
75         qemu_img_binary = /usr/bin/qemu-img
76         only qcow2
77         only rtl8139
78         only ide
79         only smp2
80         only no_pci_assignable
81         only smallpages
82         only Fedora.14.64
83         only unattended_install.cdrom, boot, shutdown
85 # You may provide information about the DTM server for WHQL tests here:
86 #whql:
87 #    server_address = 10.20.30.40
88 #    server_shell_port = 10022
89 #    server_file_transfer_port = 10023
90 # Note that the DTM server must run rss.exe (available under deps/),
91 # preferably with administrator privileges.
93 # Uncomment the following lines to enable abort-on-error mode:
94 #abort_on_error = yes
95 #kill_vm.* ?= no
96 #kill_unresponsive_vms.* ?= no
98 # Choose your test list from the testsets defined
99 only qemu_kvm_f14_quick