[Toaster] Toaster setup script

Smith, Elliot elliot.smith at intel.com
Thu Nov 26 03:42:11 PST 2015


On 26 November 2015 at 11:07, Mihail, StanciuX <stanciux.mihail at intel.com>
wrote:

> 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.
>

This is interesting. What kind of errors do you get? Could you send me the
trace of what happens when this occurs? I'm wondering if it's the same
issue I'm seeing when I try to upgrade to Django 1.8.

Thanks.
Elliot


>
>
> 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 J
>
>
>
> 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.
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
>


-- 
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20151126/03658016/attachment.html>


More information about the toaster mailing list