<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-05-18 14:39 GMT+02:00 Florian Bruhin <span dir="ltr"><<a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
I use buildbot to automatically test my application under various OS':<br>
<br>
<a href="http://qutebrowser.org:8010/waterfall" target="_blank">http://qutebrowser.org:8010/waterfall</a><br>
<br>
Currently I'm testing with four Linux distributions:<br>
<br>
- Ubuntu Trusty with Qt/PyQt 5.2.1<br>
- Ubuntu Utopic with Qt 5.3.0, PyQt 5.3.2<br>
- Debian Jessie with Qt/PyQt 5.3.2<br>
- Archlinux with Qt/PyQt 5.4.1<br>
<br>
However, running 4 VMs (+ Win8) is rather resource intensive.<br>
<br>
What alternative approaches are there to ensure my tests run fine with<br>
older Qt/PyQt versions?<br>
<br>
Things I could think of so far:<br>
<br>
- Use some kind of containers/chroots instead of VMs.<br></blockquote><div><br></div><div>Create some Docker images maybe?</div><div><br></div><div>In the past I've used Docker when I wanted to test some packages I built using the Open Build Service.</div><div><br></div><div>E.g. to drop into a Ubuntu Trusty shell, just do `docker run -t -i ubuntu:14.04 /bin/bash`. I never automated the testing, or tried X11 stuff (it was a QtCore only C++ console app), but I'm sure that could be made to work.</div><div><br></div><div>If you don't need the "full distro" test environment, then I think multiple Qt versions + virtualenvs as suggested by others sounds like a good idea.</div><div><br></div><div>Elvis</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
- Only use one OS (probably Archlinux) and have multiple PyQt/Qt<br>
  builds on the same system - probably should work with Qt's<br>
  -developer-build, building PyQt with each Qt's qmake, and then<br>
  messing with PYTHONPATH, but might be a pain to set up.<br>
<br>
What do you think? Another option would be to just run them on one<br>
system, but in the past I got bitten often by changes in Qt/PyQt which<br>
cause subtly different behaviour.<br>
<span class=""><font color="#888888"><br>
Florian<br>
<br>
--<br>
<a href="http://www.the-compiler.org" target="_blank">http://www.the-compiler.org</a> | <a href="mailto:me@the-compiler.org">me@the-compiler.org</a> (Mail/XMPP)<br>
   GPG: 916E B0C8 FD55 A072 | <a href="http://the-compiler.org/pubkey.asc" target="_blank">http://the-compiler.org/pubkey.asc</a><br>
         I love long mails! | <a href="http://email.is-not-s.ms/" target="_blank">http://email.is-not-s.ms/</a><br>
</font></span><br>_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div></div>