From patchwork Thu Jun 24 23:33:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 107957 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5ONXNhr030431 for ; Thu, 24 Jun 2010 23:33:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754481Ab0FXXdW (ORCPT ); Thu, 24 Jun 2010 19:33:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19124 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753033Ab0FXXdV (ORCPT ); Thu, 24 Jun 2010 19:33:21 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5ONXKfY009495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Jun 2010 19:33:20 -0400 Received: from localhost.localdomain (vpn-9-214.rdu.redhat.com [10.11.9.214]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5ONX8oB020871; Thu, 24 Jun 2010 19:33:19 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org, mgoldish@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH 4/5] KVM test: add sample RHEL-6 style unittest config file Date: Thu, 24 Jun 2010 20:33:05 -0300 Message-Id: <1277422386-13516-4-git-send-email-lmr@redhat.com> In-Reply-To: <1277422386-13516-1-git-send-email-lmr@redhat.com> References: <1277422386-13516-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 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]); Thu, 24 Jun 2010 23:33:24 +0000 (UTC) diff --git a/client/tests/kvm/unittests.cfg.sample b/client/tests/kvm/unittests.cfg.sample new file mode 100644 index 0000000..dd5f9a0 --- /dev/null +++ b/client/tests/kvm/unittests.cfg.sample @@ -0,0 +1,56 @@ +# Copy this file to unittests.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 + +# Monitor +monitors = humanmonitor1 +main_monitor = humanmonitor1 +monitor_type = human + +# 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: + - unittest: + type = unittest + vms = '' + unittest_timeout = 600 + testdev = yes + extra_params += " -S" + # In case you want to execute only a subset of the tests defined on the + # unittests.cfg file on qemu-kvm, uncomment and edit test_list + #test_list = ['idt_test', 'hypercall', 'vmexit', 'realmode']