public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvm-unittests v2 0/4] Add run_tests.sh script and update unittests.cfg
@ 2013-04-12 11:27 Kevin Wolf
  2013-04-12 11:27 ` [PATCH kvm-unittests v2 1/4] Add run_tests.sh Kevin Wolf
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Kevin Wolf @ 2013-04-12 11:27 UTC (permalink / raw)
  To: kvm; +Cc: kwolf, gleb, mtosatti, lmr

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-04-17 23:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 11:27 [PATCH kvm-unittests v2 0/4] Add run_tests.sh script and update unittests.cfg Kevin Wolf
2013-04-12 11:27 ` [PATCH kvm-unittests v2 1/4] Add run_tests.sh Kevin Wolf
2013-04-12 12:24   ` Lucas Meneghel Rodrigues
2013-04-12 11:27 ` [PATCH kvm-unittests v2 2/4] x86/unittests.cfg: Add arch for x86_64-only tests Kevin Wolf
2013-04-12 11:27 ` [PATCH kvm-unittests v2 3/4] x86/unittests.cfg: Add missing test cases Kevin Wolf
2013-04-12 11:27 ` [PATCH kvm-unittests v2 4/4] x86/unittests.cfg: Create test case groups Kevin Wolf
2013-04-13 23:26 ` [PATCH kvm-unittests v2 0/4] Add run_tests.sh script and update unittests.cfg Cole Robinson
2013-04-15  8:11   ` Kevin Wolf
2013-04-17 22:26 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox