From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Wolf Subject: [PATCH kvm-unittests v2 0/4] Add run_tests.sh script and update unittests.cfg Date: Fri, 12 Apr 2013 13:27:36 +0200 Message-ID: <1365766060-7604-1-git-send-email-kwolf@redhat.com> Cc: kwolf@redhat.com, gleb@redhat.com, mtosatti@redhat.com, lmr@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58529 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754112Ab3DLL1p (ORCPT ); Fri, 12 Apr 2013 07:27:45 -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 r3CBRjCL006835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 Apr 2013 07:27:45 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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 -- 1.8.1.4