diff mbox

[KVM-AUTOTEST,4/4] KVM test: add sample RHEL-6 style unittest config file

Message ID 1275562997-26311-4-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish June 3, 2010, 11:03 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/unittests.cfg.sample b/client/tests/kvm/unittests.cfg.sample
new file mode 100644
index 0000000..f214337
--- /dev/null
+++ b/client/tests/kvm/unittests.cfg.sample
@@ -0,0 +1,98 @@ 
+# Copy this file to tests_base.cfg and edit it.
+#
+# Define the objects we'll be using
+vms = vm1
+
+# Choose the main VM
+main_vm = vm1
+
+# Some preprocessor/postprocessor params
+start_vm = yes
+kill_vm = yes
+kill_vm_gracefully = no
+
+# Screendump specific stuff
+convert_ppm_files_to_png_on_error = yes
+#keep_ppm_files = yes
+#keep_ppm_files_on_error = yes
+take_regular_screendumps = yes
+keep_screendumps_on_error = yes
+screendump_delay = 5
+screendump_quality = 30
+screendump_temp_dir = /dev/shm
+
+# Some default VM params
+qemu_binary = qemu
+qemu_img_binary = qemu-img
+smp = 1
+mem = 512
+display = vnc
+
+# Default scheduler params
+used_cpus = 1
+used_mem = 512
+
+# NIC parameters
+run_tcpdump = no
+
+# Misc
+run_kvm_stat = yes
+
+
+# Tests
+variants:
+    # (This variant is defined only in order make all test names begin with 'unittest.')
+    - unittest:
+        type = unittest
+        unittest_timeout = 600
+        log_output = yes
+        testdev = yes
+        extra_params += " -S"
+
+        # All kernels and reference output files are expected under unittests/
+        kernel = unittests/
+        reference_output = unittests/
+
+        variants:
+            - access:
+                kernel += access.flat
+                reference_output += access.log.ref
+            - apic:
+                kernel += apic.flat
+                reference_output += apic.log.ref
+            - emulator:
+                kernel += emulator.flat
+                reference_output += emulator.log.ref
+            - hypercall:
+                kernel += hypercall.flat
+                reference_output += hypercall.log.ref
+            - memtest1:
+                kernel += memtest1.flat
+                reference_output += memtest1.log.ref
+            - msr:
+                kernel += msr.flat
+                reference_output += msr.log.ref
+            - port80:
+                kernel += port80.flat
+                reference_output += port80.log.ref
+            - realmode:
+                kernel += realmode.flat
+                reference_output += realmode.log.ref
+            - sieve:
+                kernel += sieve.flat
+                reference_output += sieve.log.ref
+            - simple:
+                kernel += simple.flat
+                reference_output += simple.log.ref
+            - smptest:
+                kernel += smptest.flat
+                reference_output += smptest.log.ref
+            - stringio:
+                kernel += stringio.flat
+                reference_output += stringio.log.ref
+            - tsc:
+                kernel += tsc.flat
+                reference_output += tsc.log.ref
+            - vmexit:
+                kernel += vmexit.flat
+                reference_output += vmexit.log.ref