From patchwork Tue Jun 8 21:50:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 105050 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o58LonOC002010 for ; Tue, 8 Jun 2010 21:50:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932077Ab0FHVur (ORCPT ); Tue, 8 Jun 2010 17:50:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29660 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755839Ab0FHVuq (ORCPT ); Tue, 8 Jun 2010 17:50:46 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o58Lojc8003855 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 8 Jun 2010 17:50:45 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o58Loh6e012548; Tue, 8 Jun 2010 17:50:43 -0400 Received: from localhost.localdomain (dhcp-1-188.tlv.redhat.com [10.35.1.188]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o58LobsR018636; Tue, 8 Jun 2010 17:50:42 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH v2 4/4] KVM test: add sample RHEL-6 style unittest config file Date: Wed, 9 Jun 2010 00:50:07 +0300 Message-Id: <1276033807-22718-4-git-send-email-mgoldish@redhat.com> In-Reply-To: <1276033807-22718-3-git-send-email-mgoldish@redhat.com> References: <1276033807-22718-1-git-send-email-mgoldish@redhat.com> <1276033807-22718-2-git-send-email-mgoldish@redhat.com> <1276033807-22718-3-git-send-email-mgoldish@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 08 Jun 2010 21:50:50 +0000 (UTC) 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