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? 

Any pointers or explanations would be greatly appreciated.

Thanks
Julius


_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to