On Fri, Jun 16, 2023 at 11:03 AM gemad@outlook.com wrote:
Thanks for the reply, I will try to make my point more clear, So let assume I have many test cases related to the network-basic, should I repeat the this block with the same name and different paths ?
LAVA won't let you do that. It will throw an error like this: Job error: Invalid job data: ['Test definition names need to be unique.']
like I want the result to be :
- lava.network-basic.testcase1 [pass]
- lava.network-basic.testcase2 [pass]
- lava.network-basic.testcase3 [fail]
so In the job :
- test: definitions:
- from: git name: network-basic path: automated/linux/network-basic/testcase1.yaml repository: http://github.com/linaro/test-definitions.git
- test: definitions:
- from: git name: network-basic path: automated/linux/network-basic/testcase2.yaml repository: http://github.com/linaro/test-definitions.git
- test: definitions:
- from: git name: network-basic path: automated/linux/network-basic/testcase3.yaml repository: http://github.com/linaro/test-definitions.git
You can have multiple test results produced by a single test-definition. I've no idea how this will work with lavacli. This is a very old tool based on XML-RPC which I believe isn't maintained any more. Remi will know better.
Best Regards, Milosz
Thanks _______________________________________________ Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s