On Thu, 2011-04-14 at 14:25 -0700, Gaston, Jason D wrote:
> Hello,
> 
> I am able to run "bin/autotest tests/kvm/control" fine, but now I would like 
> to run "bin/autotest myjobfile".  For other tests, I have just been including 
> "job.run_test('testname')" within my myjobfile.  When I tried to use 
> "job.run_test('kvm')", it says that I am missing parameters.  What parameters 
> would I need to include to run the same basic test as executed by  
> "bin/autotest tests/kvm/control"?

The KVM test has its own configuration system [1] due to the large
amount of variables of a typical test matrix. So it also has its own
method of running tests (which of course, calls a job.run_test like
method internally).

Long story short [2]:

1) Go to client/tests/kvm
2) Run ./get_started.py. See the messages and follow the instructions.
3) You'll run ../bin/autotest --verbose control on that dir (the
get_started.py script will give you a command line with absolute paths
if you prefer) and then there you go, KVM tests will start to execute.

Hope it was useful,

Lucas

[1] If you are curious, please see
http://www.linux-kvm.org/page/KVM-Autotest/Test_Config_File
[2] More details can be seen in
http://www.linux-kvm.org/page/KVM-Autotest/Client_Install


> Thank you!
> 
> Jason
> 
> 
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to