Based on Naphtali Sprei's patches.

Changes from v1:
- Remove reference_output parameter

Signed-off-by: Michael Goldish <mgold...@redhat.com>
---
 client/tests/kvm/unittests.cfg.sample |   83 +++++++++++++++++++++++++++++++++
 1 files changed, 83 insertions(+), 0 deletions(-)
 create mode 100644 client/tests/kvm/unittests.cfg.sample

diff --git a/client/tests/kvm/unittests.cfg.sample 
b/client/tests/kvm/unittests.cfg.sample
new file mode 100644
index 0000000..f3b7fcd
--- /dev/null
+++ b/client/tests/kvm/unittests.cfg.sample
@@ -0,0 +1,83 @@
+# 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 are expected under unittests/
+        kernel = unittests/
+
+        variants:
+            - access:
+                kernel += access.flat
+            - apic:
+                kernel += apic.flat
+            - emulator:
+                kernel += emulator.flat
+            - hypercall:
+                kernel += hypercall.flat
+            - memtest1:
+                kernel += memtest1.flat
+            - msr:
+                kernel += msr.flat
+            - port80:
+                kernel += port80.flat
+            - realmode:
+                kernel += realmode.flat
+            - sieve:
+                kernel += sieve.flat
+            - simple:
+                kernel += simple.flat
+            - smptest:
+                kernel += smptest.flat
+            - stringio:
+                kernel += stringio.flat
+            - tsc:
+                kernel += tsc.flat
+            - vmexit:
+                kernel += vmexit.flat
-- 
1.5.4.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to