From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH kvm-unittests v2 0/4] Add run_tests.sh script and update unittests.cfg Date: Wed, 17 Apr 2013 19:26:14 -0300 Message-ID: <20130417222614.GA31059@amt.cnet> References: <1365766060-7604-1-git-send-email-kwolf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, gleb@redhat.com, lmr@redhat.com To: Kevin Wolf Return-path: Received: from mx1.redhat.com ([209.132.183.28]:16868 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718Ab3DQXht (ORCPT ); Wed, 17 Apr 2013 19:37:49 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3HNbnV5014595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Apr 2013 19:37:49 -0400 Content-Disposition: inline In-Reply-To: <1365766060-7604-1-git-send-email-kwolf@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Apr 12, 2013 at 01:27:36PM +0200, Kevin Wolf wrote: > This adds a small script that allows to conveniently run all test cases and > that reports back one "PASS" or "FAIL" line for each test case; it also creates > a test.log file with the full output. > > It parses the unittests.cfg file used by autotest, so I'm also making some > updates to this file and hopefully make some improvements that autotest can > make use of as well. > > I checked with Lucas that adding new keys isn't a problem. One thing that is > likely to cause failures for autotext, though, is that I'm including i386-only > test cases in unittests.cfg. It should probably parse the 'arch' key in the > future and skip them (and possibly introduce an i386 run besides the x86_64 one > so that they actually get tested). > > Kevin Wolf (4): > Add run_tests.sh > x86/unittests.cfg: Add arch for x86_64-only tests > x86/unittests.cfg: Add missing test cases > x86/unittests.cfg: Create test case groups > > run_tests.sh | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > x86-run | 9 +++- > x86/unittests.cfg | 49 +++++++++++++++++++++- > 3 files changed, 178 insertions(+), 3 deletions(-) > create mode 100755 run_tests.sh Applied, thanks.