<div dir="ltr"><div><div><div><div>Hi Patrick,<br><br></div>to run python tests locally you can either use ctest from the build dir or create a wrapper script that set paths and env vars before launching python and the script.<br><br></div>Here is mine (you probably need to adapt it): <a href="http://dpaste.com/1C3FMZM">http://dpaste.com/1C3FMZM</a><br><br></div>Recently Matthias also explained on this list how to run python tests inside QtCreator.<br><br></div>Cheers<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 8, 2017 at 9:22 AM, Patrick Valsecchi <span dir="ltr"><<a href="mailto:patrick.valsecchi@camptocamp.com" target="_blank">patrick.valsecchi@camptocamp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm trying to work on a feature in the master branch, but Travis <a href="https://travis-ci.org/pvalsecc/QGIS/jobs/297999069" target="_blank">constantly times out on my builds</a>.</div><div><br></div><div>Did I miss something?</div><div><br></div><div>Plus, I'm trying to run UTs on my machine, but the doc must be outdated. How do I run the tests in tests/src/python/test_<wbr>qgsserver_wms.py locally?</div><div><br></div><div>Thanks for your help</div></div>
<br>______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div>