On Thu, Feb 7, 2013 at 9:54 PM, Gawlas, Julius <[email protected]> wrote: > I am looking for a clean way to basically pass set of parameters > (name/values) to a job at creation time, form the command line or rpc. Say in > my control file I would have > > param1=100 > param2="abc" > > job.run_test('mytest', param1=param1, param2=param2) > > and want to invoke a job and on creation say run this with param1=120. > > I see bunch of support in the database and sources for parameterized jobs. > There is rpc call create_parametrized_job which creates appropriate db > artifacts and finally creates regular job. Parameters are added to > test_obj.testparameter_set object and stored away. > > No clear to me when the parameters are consumed and in what way. Is there > some documentation on how it was intended to be used? What are the use cases > for that?
Finding the appropriate docs that describe it is something on my TODO list, but I never got around doing it. I know there was a lot of work by the google guys, but then they dropped it on the floor and left the building. We're left with searching git log and scavenging old mailing list archives. > Any pointers or explanations would be greatly appreciated. Will try to find some. _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
