From patchwork Fri Apr 12 11:27:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 2434961 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 3EBE6DF2A1 for ; Fri, 12 Apr 2013 11:28:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753722Ab3DLL1y (ORCPT ); Fri, 12 Apr 2013 07:27:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45484 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752977Ab3DLL1x (ORCPT ); Fri, 12 Apr 2013 07:27:53 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3CBRq94008220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 Apr 2013 07:27:53 -0400 Received: from dhcp-200-207.str.redhat.com (ovpn-116-52.ams2.redhat.com [10.36.116.52]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r3CBRhsP013167; Fri, 12 Apr 2013 07:27:51 -0400 From: Kevin Wolf To: kvm@vger.kernel.org Cc: kwolf@redhat.com, gleb@redhat.com, mtosatti@redhat.com, lmr@redhat.com Subject: [PATCH kvm-unittests v2 4/4] x86/unittests.cfg: Create test case groups Date: Fri, 12 Apr 2013 13:27:40 +0200 Message-Id: <1365766060-7604-5-git-send-email-kwolf@redhat.com> In-Reply-To: <1365766060-7604-1-git-send-email-kwolf@redhat.com> References: <1365766060-7604-1-git-send-email-kwolf@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Put all vmexit test cases and all task switch test cases into a group, so that you can use something like ./run_tests -g tasks Signed-off-by: Kevin Wolf --- x86/unittests.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index 11e8077..bc9643e 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -23,36 +23,44 @@ smp = 3 [vmexit_cpuid] file = vmexit.flat extra_params = -append 'cpuid' +groups = vmexit [vmexit_vmcall] file = vmexit.flat extra_params = -append 'vmcall' +groups = vmexit [vmexit_mov_from_cr8] file = vmexit.flat extra_params = -append 'mov_from_cr8' +groups = vmexit [vmexit_mov_to_cr8] file = vmexit.flat extra_params = -append 'mov_to_cr8' +groups = vmexit [vmexit_inl_pmtimer] file = vmexit.flat extra_params = -append 'inl_from_pmtimer' +groups = vmexit [vmexit_ipi] file = vmexit.flat smp = 2 extra_params = -append 'ipi' +groups = vmexit [vmexit_ipi_halt] file = vmexit.flat smp = 2 extra_params = -append 'ipi_halt' +groups = vmexit [vmexit_ple_round_robin] file = vmexit.flat extra_params = -append 'ple_round_robin' +groups = vmexit [access] file = access.flat @@ -125,10 +133,12 @@ arch = x86_64 [taskswitch] file = taskswitch.flat arch = i386 +groups = tasks [taskswitch2] file = taskswitch2.flat arch = i386 +groups = tasks [kvmclock_test] file = kvmclock_test.flat