All of lore.kernel.org
 help / color / mirror / Atom feed
* [KVM_AUTOTEST] patch set to dynamically load tests
@ 2009-05-26 16:26 David Huff
  2009-05-26 16:27 ` [PATCH] Modified kvm_runtest_2.py to look for tests in kvm_tests/ David Huff
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Huff @ 2009-05-26 16:26 UTC (permalink / raw)
  To: kvm


resending patch set... first pass at spiting up tests into separate files... 

These relatively simple changes to kvm_runtest_2 will allow for the addition of
new tests without having modifying kvm_runtest "code."  

One would just add a newtest.py file and update the config file.  This will
simplify test development and make it easier to deploying new tests in an
existing environment.

The patch looks for tests that are not statically defined in kvm_runtest_2.py in
./kvm-autotest/client/tests/kvm_runtest_2/kvm_tests/'testname'.py and
dynamically loads a module with a corresponding method run_'testname' where
testname is defined by the "type" parameter in the config file.

looking for comments/feedback....


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

end of thread, other threads:[~2009-05-26 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-26 16:26 [KVM_AUTOTEST] patch set to dynamically load tests David Huff
2009-05-26 16:27 ` [PATCH] Modified kvm_runtest_2.py to look for tests in kvm_tests/ David Huff
2009-05-26 16:27 ` [PATCH] Added "stock" or existing test to ./kvm_tests/ David Huff
2009-05-26 16:27 ` [PATCH] removed old kvm_test.py, tests now in seprate subdir David Huff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.