The second line for executing the tests (in LAVA sources dir root) has to be this:

python3 -m unittest -vcf tests.lava_scheduler_app.test_base_templates.TestBaseTemplates.test_all_templates

Directory structure of the tests has been changed since documentation has been written - same applies to all other examples.

I'm already preparing a pull request for these changes, as I stumbled over this too.

I don't know yet about the device-dictionary command line, couldn't yet figure out how it has to be now.


Am 25. April 2023 11:22:01 MESZ schrieb gemad@outlook.com:
I was trying to follow the section testing new device template here :

https://validation.linaro.org/static/docs/v2/development-intro.html#developing-device-type-templates

but I am getting the error :

root@master1:/# lava-server manage device-dictionary
Unknown command: 'device-dictionary'. Did you mean device-tags?
Type 'lava-server help' for usage.

Some versions information :
master1:/#lava-server manage version
2.2.28

lab-slave-0:/# lavacli system version
2023.01

Is the documentation outdated, or am I trying to execute the command in the wrong place ?
Also what is the best way to debug and check the errors in a new device template ?

Thanks in advance.
G.Emad
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