On Mon, 2014-11-03 at 14:46 +0100, Vincent Guittot wrote:
On 3 November 2014 14:13, Ivan T. Ivanov iivanov@mm-sol.com wrote:
<snip>
Ok. probably I have not understood purpose of the workgen script. Is is supposed to be executed on the target machine? This will be really to bad, it will be pain to compile/install python on my little target :-)
Yes the goal is to use workgen on the target. I also admit that some people (like you) don't want to install a lot of things on their little target. I can add the name in the examples file so it can be use directly with rt-app
But you will have another potential issue: having a unique key id at each json object level. workgen also takes care of that and i'm not sure that all the example comply with this constraint.
I have tried to add this to rt-app itself, but the patch was too intrusive :-).
Nevertheless, we can add an option into workgen to only check use case file and output a corrected file instead of calling rt-app. So, you use workgen on your host to check/update the use case files and call rt-app with the checked file on the target
Thanks, this will be nice.
Regards, Ivan