KVM test: Try to load subtests from a shared tests location
commitad82432716d0c5e3456c34db846c6184146ce241
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Wed, 27 Apr 2011 20:41:50 +0000 (27 20:41 +0000)
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Wed, 27 Apr 2011 20:41:50 +0000 (27 20:41 +0000)
treeef7590b05774022162fce7141be466b5985d68a8
parentb2313be38868d287d318ef269924fc2388376e07
KVM test: Try to load subtests from a shared tests location

As we have several subtests that can be shared among different
virtualization tests (kvm, xen), manipulate kvm.py to try loading
subtests from the kvm area (client/tests/kvm/tests) first,
then falling back to the specific test area (planned to be
client/virt/tests).

Changes from v1:
 * Martin Jenner has suggested inverting the lookup order.
Looking first on the specific kvm subtest area *then* common
allows people to override the commom implementation of a test
that might be better for that particular virt technology.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Signed-off-by: Martin Jenner <mjenner@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5333 592f7852-d20e-0410-864c-8624ca9c26a4
client/tests/kvm/kvm.py