On Fri, 20 Sep 2013 11:41:45 +0100 Andrew McDermott andrew.mcdermott@linaro.org wrote:
All of that is already supported.
The one thing which needs better documentation is that the use of more than one lava_test_shell command block in the JSON causes a reboot between actions when adding to the testdef_repos array does not:
{ "command": "lava_test_shell", "parameters": { "testdef_repos": [ { "git-repo":
"git://git.linaro.org/people/foobar/bootchart-yaml.git", "testdef": "installer.yaml" }, { "git-repo": "git://git.linaro.org/people/foobar/bootchart-yaml.git", "testdef": "parser.yaml" } ], "timeout": 900 } },
Is it possible to have a different timeout value per testdef? In the last example can 'installer.yaml' have a timeout of 60 and 'parser.yaml' a timeout of 900?
No. Only lava_test_shell parameters support the timeout, not the testdef_repos or testdef_url. To change the timeout, you need to have multiple command: lava_test_shell sections but those will still cause a reboot between each lava_test_shell operation.