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.
setup_toaster.py
Description: setup_toaster.py
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
