[Toaster] Toaster setup script
Mihail, StanciuX
stanciux.mihail at intel.com
Thu Nov 26 03:07:40 PST 2015
Hi everyone,
As discussed in yesterday's meeting, here's the python script we use to setup the builds for our automated UI tests.
The timeouts that are strewn about in the script I had to put in because sometimes I'd get database blocked errors if commands were issued too quickly.
Usage for automated testing would be like so:
1. Start toaster
2. Run setup_toaster.py
3. Run whichever tests you set up from bitbake/lib/toaster/contrib/tts/toasteruitests with run_toastertests.py
So, if you were to copy the attached script in your toasteruitests folder, you could just run "python setup_toaster.py && python run_toastertests.py" and leave for lunch and everything should (hopefully) be finished by the time you get back :)
NB: By default, we build 1 core-image-minimal, 1 core-image-sato and 1 error-image. If you want to skip any of them just comment out the relevant section in the script.
Cheers,
Mihai
PS. Any ideas for improvement would be welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20151126/23f3503b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup_toaster.py
Type: application/octet-stream
Size: 5125 bytes
Desc: setup_toaster.py
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20151126/23f3503b/attachment.obj>
More information about the toaster
mailing list