Hi Elliot, My tests have nothing to do with what Alex set up in the tts folder. They’re fully contained within the toasteruitests subfolder and require nothing from outside of it. Basically, you need to edit the toaster_test.cfg file to add which tests you want to run to the test_cases line and then just do a ./run_toastertests.py. No emails necessary.
Maybe Michael and/or Belen can tell you more about the tts tests. Cheers, Mihai From: Smith, Elliot [mailto:[email protected]] Sent: Thursday, September 03, 2015 6:10 PM To: Mihail, StanciuX Cc: [email protected] Subject: Re: [Toaster] [review request][PATCH]new backend automated tests On 1 September 2015 at 15:20, Mihail, StanciuX <[email protected]<mailto:[email protected]>> wrote: All tests found here: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=mstanciu/toaster-new-backend All feedback is welcome. Thanks for these, Mihail. Is there any way to do this without having to set up an email system, e.g. just run the tests on the command line? I have tried just running this with: python runner.py <branch> (which seems like the right thing) but I get this error: ############ Traceback (most recent call last): File "runner.py", line 35, in <module> from shellutils import ShellCmdException, mkdirhier, run_shell_cmd File "/home/ell/dev/toaster/poky-contrib/bitbake/lib/toaster/contrib/tts/shellutils.py", line 24, in <module> import config File "/home/ell/dev/toaster/poky-contrib/bitbake/lib/toaster/contrib/tts/config.py", line 54, in <module> TOASTER_BASEURL = "http://%s:%d/<http://%25s:%25d/>" % (get_public_ip(), TOASTER_PORT) File "/home/ell/dev/toaster/poky-contrib/bitbake/lib/toaster/contrib/tts/config.py", line 48, in get_public_ip temp_socket.connect((parsed_url.netloc, 80 if parsed_url.port is None else parsed_url.port)) File "/usr/lib64/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) socket.gaierror: [Errno -2] Name or service not known ############ I think this is because the script is trying to resolve "http://icarus.local/w3c-validator/check?doctype=HTML5&uri=", which isn't a public URL. Do I need to set something else up (not mentioned in the README)? Or is there an alternative public URL I can use? NB I did modify settings.json and config.py. It would be nice if all the settings in config.py which a user is likely to want to change were in settings.json instead. Alternatively, if there was something in config.py which explains the variables you might need to modify. Thanks. Elliot -- _______________________________________________ toaster mailing list [email protected]<mailto:[email protected]> https://lists.yoctoproject.org/listinfo/toaster -- Elliot Smith Software Engineer Intel Open Source Technology Centre
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
